【修改】统一 LOG 代码格式

Signed-off-by: chenyong <1521761801@qq.com>
master
chenyong 7 years ago
parent 30b6b0f884
commit 5bf46f3b60

@ -1465,10 +1465,12 @@ int webclient_request(const char *URI, const char *header, const char *post_data
goto __exit; goto __exit;
} }
} }
if (header != RT_NULL) if (header != RT_NULL)
{ {
strncpy(session->header->buffer, header, strlen(header)); strncpy(session->header->buffer, header, strlen(header));
} }
__exit: __exit:
if (session) if (session)
{ {

@ -87,7 +87,7 @@ int webclient_get_file(const char* URI, const char* filename)
{ {
write(fd, ptr, length); write(fd, ptr, length);
total_length += length; total_length += length;
rt_kprintf(">"); LOG_RAW(">");
} }
else else
{ {
@ -107,7 +107,7 @@ int webclient_get_file(const char* URI, const char* filename)
{ {
write(fd, ptr, length); write(fd, ptr, length);
total_length += length; total_length += length;
rt_kprintf(">"); LOG_RAW(">");
} }
else else
{ {

Loading…
Cancel
Save