src/socket/net_mod_server_socket.c | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
test/test.c | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/socket/net_mod_server_socket.c
@@ -89,7 +89,7 @@ net_mod_request_head_t request_head; net_mod_response_head_t response_head; void *recv_buf; static void *buf; static void *buf = NULL; int recv_size; static size_t max_buf = 1024; test/test.c
@@ -1,11 +1,13 @@ #include "usg_common.h" #include "usg_typedef.h" int test() { static int count = 0; count++; return count; } int main() { char buf[1024]; sprintf(buf, "%s\n", (char*)"" ); printf(buf); int d = strcmp(trim("", 0), ""); printf("%d\n", d); printf("%d\n", test()); printf("%d\n", test()); }