From 9250e9ac23d73886f30d324d1642ca196dfc4a42 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 21 Dec 2015 10:54:02 -0800 Subject: [PATCH] Improve the comment a bit more. --- util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util.c b/util.c index 3bece5ca..baee467c 100644 --- a/util.c +++ b/util.c @@ -1610,6 +1610,8 @@ int flist_ndx_pop(flist_ndx_list *lp) * - if incr < 0 then increase the malloced size by -1 * incr * - if incr >= 0 then either make the malloced size equal to "incr" * or (if that's not large enough) double the malloced size + * After the size check, the list's count is incremented by 1 and a pointer + * to the "new" list item is returned. */ void *expand_item_list(item_list *lp, size_t item_size, const char *desc, int incr) -- 2.47.2