Re: [PATCH] notmuch: Add "maildir:" search option

Subject: Re: [PATCH] notmuch: Add "maildir:" search option

Date: Wed, 13 Nov 2013 21:14:21 +0100

To: Austin Clements

Cc: notmuch@notmuchmail.org

From: Peter Zijlstra


On Wed, Nov 13, 2013 at 09:08:52PM +0100, Peter Zijlstra wrote:
> +    if (i >= 3) {
> +	/* Consume trailing maildir directory entries */
> +	if (STRNCMP_LITERAL (maildir, "cur") == 0 ||
> +	    STRNCMP_LITERAL (maildir, "new") == 0)

maildir + i - 3

obviously..



Thread: