summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/cookie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cookie.c b/lib/cookie.c
index cf18745bc..69bc04260 100644
--- a/lib/cookie.c
+++ b/lib/cookie.c
@@ -1579,7 +1579,7 @@ static int cookie_output(struct Curl_easy *data,
free(array);
}
- if(out && !use_stdout) {
+ if(!use_stdout) {
fclose(out);
out = NULL;
if(Curl_rename(tempstore, filename)) {