From: Daniel Stenberg Date: Wed, 6 Feb 2002 07:02:13 +0000 (+0000) Subject: Brent Beardsley found the content-type bug! X-Git-Tag: curl-7_9_5-pre2~44 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e9bfef0eb1ecf8adaa7f51873f42a7d4caae7640;p=thirdparty%2Fcurl.git Brent Beardsley found the content-type bug! --- diff --git a/lib/transfer.c b/lib/transfer.c index dedf211497..6180832aa0 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -478,7 +478,7 @@ CURLcode Curl_readwrite(struct connectdata *conn, start++); /* count all non-space letters following */ - for(end=start+1, len=0; + for(end=start, len=0; *end && !isspace((int)*end); end++, len++);