curl-library
[Patch] transfer.c
Date: Tue, 29 Mar 2011 12:08:26 +0200
A small "typo" in transfer.c:
--- Git-latest/lib/transfer.c Tue Mar 29 11:04:17 2011
+++ lib/transfer.c Tue Mar 29 12:06:04 2011
@@ -125,7 +125,7 @@
#ifdef CURL_DOES_CONVERSIONS
bool sending_http_headers = FALSE;
- if((conn->protocol&(CURLPROTO_HTTP|CURLPROTO_RTSP)) &&
+ if((conn->handler->protocol & (CURLPROTO_HTTP|CURLPROTO_RTSP)) &&
(data->state.proto.http->sending == HTTPSEND_REQUEST)) {
/* We're sending the HTTP request headers, not the data.
Remember that so we don't re-translate them into garbage. */
--gv
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-03-29