Browse Source

modules_k/rls: Fixed incorrect table version check

- Found by Hugh Waite @ Crocodile RCS
Peter Dunkley 13 years ago
parent
commit
e22e5f8311
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules_k/rls/rls.c

+ 1 - 1
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;
 	}