diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-11-07 09:21:35 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-11-07 09:21:35 +0000 |
commit | cbd1a77ec24e397d05f20c6de106625676343c9d (patch) | |
tree | b92440210b287a25e34293646d26fe124581c767 /lib/getinfo.c | |
parent | 33f7ac06c3aaecf995360323d6f425e769e6fa79 (diff) |
if () => if()
while () => while()
and some other minor re-indentings
Diffstat (limited to 'lib/getinfo.c')
-rw-r--r-- | lib/getinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/getinfo.c b/lib/getinfo.c index 2ec0242a6..b3ef2f649 100644 --- a/lib/getinfo.c +++ b/lib/getinfo.c @@ -58,7 +58,7 @@ CURLcode Curl_initinfo(struct SessionHandle *data) info->httpversion=0; info->filetime=-1; /* -1 is an illegal time and thus means unknown */ - if (info->contenttype) + if(info->contenttype) free(info->contenttype); info->contenttype = NULL; @@ -214,7 +214,7 @@ CURLcode Curl_getinfo(struct SessionHandle *data, CURLINFO info, ...) /* determine if ssl */ if(c->ssl[FIRSTSOCKET].use) { /* use the SSL context */ - if (!Curl_ssl_check_cxn(c)) + if(!Curl_ssl_check_cxn(c)) *param_longp = -1; /* FIN received */ } /* Minix 3.1 doesn't support any flags on recv; just assume socket is OK */ |