diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-05-25 13:05:32 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-05-25 13:05:32 +0000 |
commit | bf3df3ff6c6f83be706524fb362608e969e5e61b (patch) | |
tree | 6fc022babb8952f2751797ea2cd4e9f85cbb65e8 | |
parent | 5124b3563b32dc81e92107434b8c22596ef3274c (diff) | |
download | radius-bf3df3ff6c6f83be706524fb362608e969e5e61b.tar.gz radius-bf3df3ff6c6f83be706524fb362608e969e5e61b.tar.bz2 |
(grad_list_insert_sorted): Update list->count.
-rw-r--r-- | lib/list.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -313,6 +313,7 @@ grad_list_insert_sorted(struct list *list, void *data, list_comp_t cmp) struct list_entry *ep = grad_emalloc(sizeof(*ep)); ep->data = data; ep->next = cur; + list->count++; prev->next = ep; } return 0; |