aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-09-09 11:23:34 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-09-09 11:23:34 +0000
commitefca2943a05dac5a2fe3a919fe63c32ced9492d2 (patch)
treee3362778642952238bd091fec3ad513ad764f00a /lib
parent371da7132fa57ef56e1c8dd8994a1f55c1fa39e0 (diff)
minor indent change
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/url.c b/lib/url.c
index 264dd7df2..ee4c7729d 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2724,12 +2724,13 @@ static CURLcode CreateConnection(struct SessionHandle *data,
}
}
- if(data->set.encoding) {
- if(conn->allocptr.accept_encoding)
- free(conn->allocptr.accept_encoding);
- conn->allocptr.accept_encoding =
- aprintf("Accept-Encoding: %s\015\012", data->set.encoding);
- }
+ if(data->set.encoding) {
+ if(conn->allocptr.accept_encoding)
+ free(conn->allocptr.accept_encoding);
+ conn->allocptr.accept_encoding =
+ aprintf("Accept-Encoding: %s\015\012", data->set.encoding);
+ }
+
conn->bytecount = 0;
conn->headerbytecount = 0;