Module: sip-router
Branch: master
Commit: 909c6401eab124789b13c09954c33f0ce628678f
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=909c640…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Date: Wed Apr 18 17:24:48 2012 +0100
modules_k/rls: rls_presentity table version checked on wrong DB connection
---
modules_k/rls/rls.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/rls/rls.c b/modules_k/rls/rls.c
index a3fc27b..39ddf9b 100644
--- a/modules_k/rls/rls.c
+++ b/modules_k/rls/rls.c
@@ -492,7 +492,7 @@ static int mod_init(void)
}
/* verify table version */
- if(db_check_table_version(&rls_dbf, rls_db, &rlpres_table, P_TABLE_VERSION) <
0) {
+ if(db_check_table_version(&rlpres_dbf, rls_db, &rlpres_table, P_TABLE_VERSION)
< 0) {
LM_ERR("error during table version check.\n");
return -1;
}