Module: kamailio
Branch: master
Commit: 684f98ace6ec50d5c52b8f6e14fe184079a6206f
URL:
https://github.com/kamailio/kamailio/commit/684f98ace6ec50d5c52b8f6e14fe184…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-03-30T17:23:29+02:00
sqlops: proper function prototypes for kemi exports to get num rows and cols
---
Modified: src/modules/sqlops/sqlops.c
---
Diff:
https://github.com/kamailio/kamailio/commit/684f98ace6ec50d5c52b8f6e14fe184…
Patch:
https://github.com/kamailio/kamailio/commit/684f98ace6ec50d5c52b8f6e14fe184…
---
diff --git a/src/modules/sqlops/sqlops.c b/src/modules/sqlops/sqlops.c
index 502819e76a..dbad0c78c3 100644
--- a/src/modules/sqlops/sqlops.c
+++ b/src/modules/sqlops/sqlops.c
@@ -458,12 +458,12 @@ static int ki_sqlops_reset_result(sip_msg_t *msg, str *sres)
return 1;
}
-static int ki_sqlops_num_rows(str *sres)
+static int ki_sqlops_num_rows(sip_msg_t *msg, str *sres)
{
return sqlops_num_rows(sres);
}
-static int ki_sqlops_num_columns(str *sres)
+static int ki_sqlops_num_columns(sip_msg_t *msg, str *sres)
{
return sqlops_num_columns(sres);
}
@@ -520,4 +520,4 @@ int mod_register(char *path, int *dlflags, void *p1, void *p2)
{
sr_kemi_modules_add(sr_kemi_sqlops_exports);
return register_trans_mod(path, mod_trans);
-}
\ No newline at end of file
+}