1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

corrected minor source indentation error

This commit is contained in:
Daniel Stenberg 2001-08-10 14:10:19 +00:00
parent 4b6c240832
commit f8c357e4ff

View File

@ -524,7 +524,7 @@ Transfer(struct connectdata *c_conn)
conn->size = contentlength; conn->size = contentlength;
Curl_pgrsSetDownloadSize(data, contentlength); Curl_pgrsSetDownloadSize(data, contentlength);
} }
else if((httpversion == 10) && else if((httpversion == 10) &&
conn->bits.httpproxy && conn->bits.httpproxy &&
compareheader(p, "Proxy-Connection:", "keep-alive")) { compareheader(p, "Proxy-Connection:", "keep-alive")) {
/* /*
@ -536,7 +536,7 @@ Transfer(struct connectdata *c_conn)
conn->bits.close = FALSE; /* don't close when done */ conn->bits.close = FALSE; /* don't close when done */
infof(data, "HTTP/1.0 proxy connection set to keep alive!\n"); 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")) { compareheader(p, "Connection:", "keep-alive")) {
/* /*
* A HTTP/1.0 reply with the 'Connection: keep-alive' line * A HTTP/1.0 reply with the 'Connection: keep-alive' line