Re: [Patch v2 2/3] util: add gzreadline

Subject: Re: [Patch v2 2/3] util: add gzreadline

Date: Sun, 30 Mar 2014 08:03:16 -0300

To: notmuch@notmuchmail.org

Cc:

From: David Bremner


David Bremner <david@tethera.net> writes:


> +	if (!gzgets (stream, buf + offset, len))
> +	    return -1;

I did find one bug by setting the initial line size to 2. This should
read "len - offset".



Thread: