Jani Nikula <jani@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.