aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-07-01 22:57:28 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-07-01 22:57:28 +0200
commitbcf50283fc64b126d57b63267be8b6aab451f99a (patch)
treec2f0b469c85001da9cecdc3884747cebc526efff
parent3e16c3e73ee9391e228b04bb088d2643d28150d2 (diff)
Curl_http_readwrite_headers: minor indent fix
-rw-r--r--lib/http.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/http.c b/lib/http.c
index 56d263b91..92f7c02a1 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -2929,23 +2929,23 @@ CURLcode Curl_http_readwrite_headers(struct SessionHandle *data,
if(conn->handler->protocol & CURLPROTO_HTTP) {
nc = sscanf(HEADER1,
- " HTTP/%d.%d %3d",
- &httpversion_major,
- &conn->httpversion,
- &k->httpcode);
+ " HTTP/%d.%d %3d",
+ &httpversion_major,
+ &conn->httpversion,
+ &k->httpcode);
if(nc==3) {
conn->httpversion += 10 * httpversion_major;
}
else {
/* this is the real world, not a Nirvana
NCSA 1.5.x returns this crap when asked for HTTP/1.1
- */
+ */
nc=sscanf(HEADER1, " HTTP %3d", &k->httpcode);
conn->httpversion = 10;
/* If user has set option HTTP200ALIASES,
compare header line against list of aliases
- */
+ */
if(!nc) {
if(checkhttpprefix(data, k->p)) {
nc = 1;