aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-07-31 17:46:28 +0000
committerYang Tse <yangsita@gmail.com>2006-07-31 17:46:28 +0000
commit9dde0b54a3e834d2c33a00a8c3d15a716086ed9e (patch)
treee41ee5474e1df587d3b8723ad83733261c63dd81 /lib/url.c
parentf1343b2f55fe9c9c64de116252fadbc0a6105bd6 (diff)
Silence warning: empty body in an if-statement
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index b25d02be8..6b376faf7 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -228,10 +228,11 @@ CURLcode Curl_close(struct SessionHandle *data)
#if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_COOKIES)
Curl_share_lock(data, CURL_LOCK_DATA_COOKIE, CURL_LOCK_ACCESS_SINGLE);
if(data->set.cookiejar) {
- if(data->change.cookielist)
+ if(data->change.cookielist) {
/* If there is a list of cookie files to read, do it first so that
we have all the told files read before we write the new jar */
Curl_cookie_loadfiles(data);
+ }
/* we have a "destination" for all the cookies to get dumped to */
if(Curl_cookie_output(data->cookies, data->set.cookiejar))