From 575f2e424a17737111786227103a428fb5c20396 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期一, 12 十月 2020 18:15:27 +0800
Subject: [PATCH] req_rep

---
 test/test.c |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/test/test.c b/test/test.c
index 744ac72..1f7533b 100644
--- a/test/test.c
+++ b/test/test.c
@@ -1,12 +1,11 @@
 #include "usg_common.h"
 #include "usg_typedef.h"
-
-void test(char *src, int size) {
-	char dest[size];
-	strncpy(dest, src, size);
-	puts(dest);
-}
+ 
 int main() {
-	char *str = "hello";
-	test(str, strlen(str));
+
+	char buf[1024];
+	sprintf(buf, "%s\n", (char*)"" );
+	printf(buf);
+	int d = strcmp(trim("", 0), "");
+	printf("%d\n", d);
 }
\ No newline at end of file

--
Gitblit v1.8.0