Hi,
This fix works on my system. The latest presence code will be used in our upcoming
performance and soak tests.
Thanks,
Peter
On 16 Mar 2012, at 11:54, Anca Vamanu <anca.vamanu(a)1and1.ro> wrote:
Module: sip-router
Branch: master
Commit: 78e7405eb227f684e156466b55335f401d17a139
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=78e7405…
Author: Anca Vamanu <anca.vamanu(a)1and1.ro>
Committer: Anca Vamanu <anca.vamanu(a)1and1.ro>
Date: Fri Mar 16 13:52:49 2012 +0200
modules_k/presence Fixed last commit - use_table before delete
Reported by Peter Dunkley
---
modules_k/presence/presentity.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/modules_k/presence/presentity.c b/modules_k/presence/presentity.c
index bb69df6..368afc5 100644
--- a/modules_k/presence/presentity.c
+++ b/modules_k/presence/presentity.c
@@ -503,6 +503,12 @@ after_dialog_check:
goto error;
}
+ if (pa_dbf.use_table(pa_db, &presentity_table) < 0)
+ {
+ LM_ERR("unsuccessful use table sql operation\n");
+ goto error;
+ }
+
LM_DBG("expires =0 -> deleting from database\n");
if(pa_dbf.delete(pa_db,query_cols,0,query_vals,n_query_cols)<0)
{
_______________________________________________
sr-dev mailing list
sr-dev(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev