From 1b658cc2a8f16447e8ffb269f5474a100a1d6951 Mon Sep 17 00:00:00 2001 From: MurphyZhao Date: Wed, 5 Sep 2018 14:08:21 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E5=A4=8D=E3=80=91MDK=20?= =?UTF-8?q?=E4=B8=8B=E7=BC=96=E8=AF=91=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MurphyZhao --- src/webclient_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webclient_file.c b/src/webclient_file.c index 61efb67..d31fadc 100644 --- a/src/webclient_file.c +++ b/src/webclient_file.c @@ -33,7 +33,7 @@ int webclient_get_file(const char* URI, const char* filename) size_t length, total_length = 0; unsigned char *ptr = RT_NULL; struct webclient_session* session = RT_NULL; - int resp_status = 0, content_length = -1; + int resp_status = 0; session = webclient_session_create(WEBCLIENT_HEADER_BUFSZ); if(session == RT_NULL)