瀏覽代碼

prefix_route: replace STR_PARAM with PARAM_STRING

Alekzander Spiridonov 11 年之前
父節點
當前提交
109c2270ef
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      modules/prefix_route/prefix_route.c

+ 2 - 2
modules/prefix_route/prefix_route.c

@@ -314,8 +314,8 @@ static cmd_export_t cmds[] = {
  * Exported parameters
  */
 static param_export_t params[] = {
-	{"db_url",       STR_PARAM, &db_url  },
-	{"db_table",     STR_PARAM, &db_table},
+	{"db_url",       PARAM_STRING, &db_url  },
+	{"db_table",     PARAM_STRING, &db_table},
 	{"exit",         INT_PARAM, &prefix_route_exit},
 	{0,              0,         0        }
 };