From: Wayne Davison Date: Mon, 21 Dec 2015 18:54:02 +0000 (-0800) Subject: Improve the comment a bit more. X-Git-Tag: v3.1.2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9250e9ac23d73886f30d324d1642ca196dfc4a42;p=thirdparty%2Frsync.git Improve the comment a bit more. --- 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)