Commit 1439eb8c 1439eb8c94bd9ae56e2834fdbf9f9c8ae99847ed by Sergey Poznyakoff

(list_set_destroy_item): Minor fix

1 parent a26dd5c4
...@@ -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
......