]> granicus.if.org Git - curl/commitdiff
typo fix
authorGisle Vanem <gvanem@broadpark.no>
Tue, 29 Mar 2011 11:08:01 +0000 (13:08 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 29 Mar 2011 11:08:01 +0000 (13:08 +0200)
lib/transfer.c

index 8d2c61770c23a1fcfc4eab9eae750633dc3de097..bd5f49dd4b71ee08dd3bb129ac87676dcb71b7d1 100644 (file)
@@ -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. */