rem: if (!connect_db(res, _sqlurl)) {
add: if (connect_db(res, _sqlurl) < 0) {
context: db_con_t* db_init(const char* _sqlurl){	db_con_t* res;#ifdef PARANOID	if (!_sqlurl) {		LOG(L_ERR, "db_init(): Invalid parameter value\n");		return NULL;	}#endif	res = pkg_malloc(sizeof(db_con_t));	if (!res) {		LOG(L_ERR, "db_init(): No memory left\n");		return NULL;	} else {		memset(res, 0, sizeof(db_con_t));	}	if (!connect_db(res, _sqlurl)) {		LOG(L_ERR, "db_init(): Error while trying to connect database\n");		pkg_free(res);		return NULL;	}	return res;}