diff options
author | venaas <venaas> | 2007-09-19 08:50:46 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2007-09-19 08:50:46 +0000 |
commit | fefa1e9fc2abc311b3a53e29b871bc53b0a98b63 (patch) | |
tree | 7181e2c741374d8b14d76e8f13d8c5192909321b /list.c | |
parent | c0206480f4ca51770abbd138cddd919d5d7ec166 (diff) |
allow multiple servers for a realm, so far only first will be used
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@161 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'list.c')
-rw-r--r-- | list.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -88,7 +88,7 @@ void list_removedata(struct list *list, void *data) { /* returns first node */ struct list_node *list_first(struct list *list) { - return list->first; + return list ? list->first : NULL; } /* returns the next node after the argument */ |