From f8c357e4ff4571b50462ba805be6bb0bacdbc3ed Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 10 Aug 2001 14:10:19 +0000 Subject: corrected minor source indentation error --- lib/transfer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/transfer.c') diff --git a/lib/transfer.c b/lib/transfer.c index 6e649f734..dd8c19e68 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 -- cgit v1.2.3