Skip to content

Commit

Permalink
Merge pull request wangzheng0822#415 from rovast/patch-1
Browse files Browse the repository at this point in the history
fix spell mistake
  • Loading branch information
wangzheng0822 authored Nov 17, 2019
2 parents 61fa732 + d123bbe commit 8d49f28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c-cpp/06_linkedlist/single_list.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,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;
Expand Down

0 comments on commit 8d49f28

Please sign in to comment.