Module: sip-router
Branch: master
Commit: c2ce62928cf1af7e509e262256d1de0e8784b8b4
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c2ce629…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Mar 13 14:10:12 2012 +0100
rls: updated usage of DB replace method
---
modules_k/rls/resource_notify.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules_k/rls/resource_notify.c b/modules_k/rls/resource_notify.c
index d0bf435..3ac6048 100644
--- a/modules_k/rls/resource_notify.c
+++ b/modules_k/rls/resource_notify.c
@@ -757,7 +757,8 @@ int rls_handle_notify(struct sip_msg* msg, char* c1, char* c2)
if (rlpres_dbf.replace != NULL)
{
- if(rlpres_dbf.replace(rlpres_db, query_cols, query_vals, n_query_cols)< 0)
+ if(rlpres_dbf.replace(rlpres_db, query_cols, query_vals, n_query_cols,
+ 2, 0)< 0)
{
LM_ERR("in sql replace\n");
goto error;