From 3b12b32560074e38eaf80dd1bc07037bdd4bd3e1 Mon Sep 17 00:00:00 2001 From: slguan Date: Sat, 3 Aug 2019 11:31:38 +0800 Subject: [PATCH] remove some warnings --- src/modules/http/src/gcHandle.c | 6 ++---- src/modules/http/src/httpCode.c | 6 ++++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/modules/http/src/gcHandle.c b/src/modules/http/src/gcHandle.c index dfea677ffc..eb0c6223a7 100644 --- a/src/modules/http/src/gcHandle.c +++ b/src/modules/http/src/gcHandle.c @@ -64,14 +64,12 @@ bool gcProcessLoginRequest(HttpContext* pContext) { //[{ // "refId": "A", // "alias" : "taosd", -// "sql" : "select first(taosd) from sys.mem where ts > now-6h and ts < now -// interval(20000a)" +// "sql" : "select first(taosd) from sys.mem where ts > now-6h and ts < now interval(20000a)" //}, //{ // "refId": "B", // "alias" : "system", -// "sql" : "select first(taosd) from sys.mem where ts > now-6h and ts < now -// interval(20000a)" +// "sql" : "select first(taosd) from sys.mem where ts > now-6h and ts < now interval(20000a)" //}] // output //[{ diff --git a/src/modules/http/src/httpCode.c b/src/modules/http/src/httpCode.c index e541872e2b..a1d66f32b4 100644 --- a/src/modules/http/src/httpCode.c +++ b/src/modules/http/src/httpCode.c @@ -20,7 +20,8 @@ char* httpMsg[] = { "http method parse error", // 3 "http version should be 1.0, 1.1 or 1.2", // 4 "http head parse error", // 5 - "request size is too big", "http body size invalid", + "request size is too big", + "http body size invalid", "http chunked body parse error", // 8 "http url parse error", // 9 "invalid type of Authorization", @@ -52,7 +53,8 @@ char* httpMsg[] = { "tags not find", "tags size is 0", "tags size too long", // 36 - "tag is null", "tag name is null", + "tag is null", + "tag name is null", "tag name length too long", // 39 "tag value type should be number or string", "tag value is null", -- GitLab