Merge pull request #415 from rovast/patch-1

fix spell mistake
This commit is contained in:
wangzheng0822 2019-11-17 09:23:52 +08:00 committed by GitHub
commit 8d49f28979
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;