浏览代码

http_client: fixed the name of exported function http_client_query() with 4 params

(cherry picked from commit 4b3e7c4a988afdc93a3c337ea97e1f8c13730a79)
Daniel-Constantin Mierla 7 年之前
父节点
当前提交
d60dd300e6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/modules/http_client/http_client.c

+ 1 - 1
src/modules/http_client/http_client.c

@@ -138,7 +138,7 @@ static cmd_export_t cmds[] = {
 	{"http_client_query", (cmd_function)w_http_query_post, 3, fixup_http_query_post,
 		fixup_free_http_query_post,
 		REQUEST_ROUTE|ONREPLY_ROUTE|FAILURE_ROUTE|BRANCH_ROUTE},
-	{"http_query", (cmd_function)w_http_query_post_hdr, 4, fixup_http_query_post_hdr,
+	{"http_client_query", (cmd_function)w_http_query_post_hdr, 4, fixup_http_query_post_hdr,
 		fixup_free_http_query_post_hdr,
 		REQUEST_ROUTE|ONREPLY_ROUTE|FAILURE_ROUTE|BRANCH_ROUTE},
 	{"http_connect", (cmd_function)w_curl_connect, 3, fixup_curl_connect,