From: Daniel Stenberg Date: Fri, 10 Aug 2001 14:10:19 +0000 (+0000) Subject: corrected minor source indentation error X-Git-Tag: curl-7_8_1~87 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f8c357e4ff4571b50462ba805be6bb0bacdbc3ed;p=thirdparty%2Fcurl.git corrected minor source indentation error --- diff --git a/lib/transfer.c b/lib/transfer.c index 6e649f734c..dd8c19e68d 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -524,7 +524,7 @@ Transfer(struct connectdata *c_conn) conn->size = contentlength; Curl_pgrsSetDownloadSize(data, contentlength); } - else if((httpversion == 10) && + else if((httpversion == 10) && conn->bits.httpproxy && compareheader(p, "Proxy-Connection:", "keep-alive")) { /* @@ -536,7 +536,7 @@ Transfer(struct connectdata *c_conn) conn->bits.close = FALSE; /* don't close when done */ infof(data, "HTTP/1.0 proxy connection set to keep alive!\n"); } - else if((httpversion == 10) && + else if((httpversion == 10) && compareheader(p, "Connection:", "keep-alive")) { /* * A HTTP/1.0 reply with the 'Connection: keep-alive' line