[sr-dev] git:master: pua: updated usage of DB replace method
Daniel-Constantin Mierla
miconda at gmail.com
Tue Mar 13 14:20:18 CET 2012
Module: sip-router
Branch: master
Commit: 17937b2c9ae3a52f4f4ab62b012dbecae913767d
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=17937b2c9ae3a52f4f4ab62b012dbecae913767d
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: Tue Mar 13 14:10:49 2012 +0100
pua: updated usage of DB replace method
---
modules_k/pua/pua_db.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules_k/pua/pua_db.c b/modules_k/pua/pua_db.c
index b652cee..3d3d387 100644
--- a/modules_k/pua/pua_db.c
+++ b/modules_k/pua/pua_db.c
@@ -1018,7 +1018,8 @@ int convert_temporary_dialog_puadb(ua_pres_t *pres)
if (pua_dbf.replace != NULL)
{
- if (pua_dbf.replace(pua_db, query_cols, query_vals, n_query_cols) < 0)
+ if (pua_dbf.replace(pua_db, query_cols, query_vals, n_query_cols,
+ 4, 0) < 0)
{
LM_ERR("Failed replace db\n");
return -1;
More information about the sr-dev
mailing list