From d123bbe27986b0a14648e533d74ae0076b03dfa9 Mon Sep 17 00:00:00 2001 From: ROVAST Date: Wed, 6 Nov 2019 16:41:57 +0800 Subject: [PATCH] fix spell mistake null To NULL --- 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 a267595..32ea0cc 100644 --- a/c-cpp/06_linkedlist/single_list.c +++ b/c-cpp/06_linkedlist/single_list.c @@ -47,7 +47,7 @@ struct single_list* del(struct single_list **prev) if (!prev) return NULL; - if (*prev == null) + if (*prev == NULL) return NULL; tmp = *prev; *prev = (*prev)->next;