[Patch v7 05/14] quote_and_decode_query: new function to quote hex-decoded queries
David Bremner
david at tethera.net
Sat Dec 15 19:39:42 PST 2012
Jani Nikula <jani at nikula.org> writes:
> strtok_len() will eat all the leading delimiters at each call, and will
> not return a zero-length token if you have multiple consecutive
> delimiters. Which means you may end up losing stuff here.
Right, I think for ':' it does matter, but it should be fixable with a
a little loop to copy ':'s to the query string after the (possibly quoted)
token.
More information about the notmuch
mailing list