aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2011-03-29 13:08:01 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-03-29 13:08:01 +0200
commitf1c6cd42f474df5922b8bf812dd23773fa650f22 (patch)
tree89147cb9489bcfece2e80ad53b70982ea3239e81
parent2a0c7ea4cc94a01c9396a213b2d0ccce6c05b37f (diff)
typo fix
-rw-r--r--lib/transfer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index 8d2c61770..bd5f49dd4 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -125,7 +125,7 @@ CURLcode Curl_fillreadbuffer(struct connectdata *conn, int bytes, int *nreadp)
#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. */