Skip to content

Commit

Permalink
sqlops: return 1 on success for kemi sql_xquery()
Browse files Browse the repository at this point in the history
- GH #2856

(cherry picked from commit 32bf3eb)
  • Loading branch information
miconda committed Sep 16, 2021
1 parent 4578fb6 commit c1f5595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/sqlops/sql_api.c
Expand Up @@ -954,7 +954,7 @@ int sqlops_do_xquery(sip_msg_t *msg, str *scon, str *squery, str *xavp)
if(sql_exec_xquery(msg, con, squery, xavp)<0)
goto error;

return 0;
return 1;
error:
return -1;
}
Expand Down

0 comments on commit c1f5595

Please sign in to comment.