Skip to content

Commit d123bbe

Browse files
authored
fix spell mistake
null To NULL
1 parent e0e4e68 commit d123bbe

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
@@ -47,7 +47,7 @@ struct single_list* del(struct single_list **prev)
4747

4848
if (!prev)
4949
return NULL;
50-
if (*prev == null)
50+
if (*prev == NULL)
5151
return NULL;
5252
tmp = *prev;
5353
*prev = (*prev)->next;

0 commit comments

Comments
 (0)