On Jun 27, 2008, at 11:04 AM, Kiffin Gish wrote:
Sorry to keep bugging you, but where does this -1 belong?

In my example there was this line:

/* split off after value */
apr_bucket_split(b, end - ct_header + 14 + 1);

+ 14 is to skip the "Content-Type: "
+ 1 is to skip the "\r"

This is where you want to change that to -1 instead to keep the \n (or the ; if you scan for ; instead of ;).

Brian

Reply via email to