From cbd1a77ec24e397d05f20c6de106625676343c9d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 7 Nov 2007 09:21:35 +0000 Subject: if () => if() while () => while() and some other minor re-indentings --- lib/getinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/getinfo.c') 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 */ -- cgit v1.2.3