diff options
author | venaas <venaas> | 2008-08-27 12:15:49 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2008-08-27 12:15:49 +0000 |
commit | 1f21f963e7098f1dc2e776ccc3886fdf12af9543 (patch) | |
tree | 86ae2ea8af40a32548cd1651012fb441447feb0c /list.c | |
parent | 5ffb1376dd0a2f1f55cfc0511bd3ef38be6e4d1d (diff) |
minor fix in list.c
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@359 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'list.c')
-rw-r--r-- | list.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -58,7 +58,7 @@ void *list_shift(struct list *list) { struct list_node *node; void *data; - if (!list->first) + if (!list || !list->first) return NULL; node = list->first; |