modules_k/rls: Fixed incorrect table version check

- Found by Hugh Waite @ Crocodile RCS
(cherry picked from commit e22e5f83115d9f1e33c27ae437d93d7701330a8c)
remotes/origin/3.3+ngcp2.6
Min Wang 14 years ago
parent d53f3294b7
commit 1c67575ec4

@ -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;
}

Loading…
Cancel
Save