فهرست منبع

modules_k/rls: Fixed incorrect table version check

- Found by Hugh Waite @ Crocodile RCS
Peter Dunkley 13 سال پیش
والد
کامیت
e22e5f8311
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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;
 	}