From 496a61ea74c8983bd92a83bd5bee0c0139cd4d8e Mon Sep 17 00:00:00 2001 From: sty945 Date: Thu, 20 Dec 2018 16:16:25 +0000 Subject: [PATCH 1/3] update --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 01789399..7f92fc2b 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,6 @@ # Java rate limiting library/framework # https://github.com/wangzheng0822/ratelimiter4j + +# sutaoyu + From e6ca1861fc1ef97482b34e83f91236930bb4914c Mon Sep 17 00:00:00 2001 From: sty945 Date: Thu, 20 Dec 2018 16:18:05 +0000 Subject: [PATCH 2/3] update --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 7f92fc2b..46004e7d 100644 --- a/README.md +++ b/README.md @@ -4,5 +4,3 @@ # Java rate limiting library/framework # https://github.com/wangzheng0822/ratelimiter4j -# sutaoyu - From adcbdda989ac3b2c5089fe7936dc4d9507be7ec2 Mon Sep 17 00:00:00 2001 From: Taoyu Su Date: Tue, 8 Jan 2019 11:12:56 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E7=BF=BB=E8=BD=AC=E5=8D=95=E9=93=BE?= =?UTF-8?q?=E8=A1=A8=EF=BC=8C=E5=A4=B4=E7=BB=93=E7=82=B9=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 翻转单链表,头结点没有初始化,会导致后面无法遍历 --- c-cpp/06_linkedlist/single_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-cpp/06_linkedlist/single_list.c b/c-cpp/06_linkedlist/single_list.c index 6c12868e..0c2d7619 100644 --- a/c-cpp/06_linkedlist/single_list.c +++ b/c-cpp/06_linkedlist/single_list.c @@ -74,7 +74,7 @@ struct single_list** search(struct single_list_head* head, int target) void reverse(struct single_list_head* head) { - struct single_list_head tmp; + struct single_list_head tmp = {NULL}; struct single_list *elem; while (!is_empty(head)) {