(list_set_destroy_item): Minor fix
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -336,6 +336,7 @@ list_set_destroy_item (list_t list, void (*destroy_item)(void *item)) | ... | @@ -336,6 +336,7 @@ list_set_destroy_item (list_t list, void (*destroy_item)(void *item)) |
336 | if (list == NULL) | 336 | if (list == NULL) |
337 | return EINVAL; | 337 | return EINVAL; |
338 | list->destroy_item = destroy_item; | 338 | list->destroy_item = destroy_item; |
339 | return 0; | ||
339 | } | 340 | } |
340 | 341 | ||
341 | int | 342 | int | ... | ... |
-
Please register or sign in to post a comment