Skip to content

Commit 8d49f28

Browse files
Merge pull request #415 from rovast/patch-1
fix spell mistake
2 parents 61fa732 + d123bbe commit 8d49f28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c-cpp/06_linkedlist/single_list.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ struct single_list* del(struct single_list **prev)
4646

4747
if (!prev)
4848
return NULL;
49-
if (*prev == null)
49+
if (*prev == NULL)
5050
return NULL;
5151
tmp = *prev;
5252
*prev = (*prev)->next;

0 commit comments

Comments
 (0)