Module: sip-router
Branch: 3.3
Commit: 985f9382703a0f5a493f8a4594220304276c2bd4
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=985f938…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Date: Tue Aug 14 15:53:07 2012 +0100
modules_k/rls: Fixed incorrect table version check
- Found by Hugh Waite @ Crocodile RCS
(cherry picked from commit e22e5f83115d9f1e33c27ae437d93d7701330a8c)
---
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 06de4cb..08dedcf 100644
--- a/modules_k/rls/rls.c
+++ b/modules_k/rls/rls.c
@@ -510,7 +510,7 @@ static int mod_init(void)
}
/* verify table version */
- if(db_check_table_version(&rlpres_dbf, rls_db, &rlpres_table, P_TABLE_VERSION)
< 0) {
+ if(db_check_table_version(&rlpres_dbf, rlpres_db, &rlpres_table,
P_TABLE_VERSION) < 0) {
LM_ERR("error during table version check.\n");
return -1;
}