Skip to content

Commit 03e2d98

Browse files
committed
#0000391: Fix issue and enhancement
1 parent c3bac73 commit 03e2d98

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/http.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,8 @@ http_client_exit(void)
9191
curl = NULL;
9292
}
9393
curl_global_cleanup();
94-
if (access(fc_cookies, W_OK) == 0) {
95-
if(remove(fc_cookies) < 0)
96-
log_message(NAME, L_NOTICE, "can't remove file %s\n", fc_cookies);
97-
}
94+
if (access(fc_cookies, W_OK) == 0)
95+
remove(fc_cookies);
9896
}
9997

10098
static size_t

0 commit comments

Comments
 (0)