about summary refs log tree commit diff stats
path: root/src/LYCookie.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYCookie.c')
-rw-r--r--src/LYCookie.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LYCookie.c b/src/LYCookie.c
index edd492ed..972cf2c3 100644
--- a/src/LYCookie.c
+++ b/src/LYCookie.c
@@ -2166,7 +2166,7 @@ PUBLIC void LYLoadCookies ARGS1 (
 	 */
 	store_cookie(moo, domain, path);
     }
-    fclose (cookie_handle);
+    LYCloseInput (cookie_handle);
 }
 
 /* rjp - experimental persistent cookie support */
@@ -2264,7 +2264,7 @@ PUBLIC void LYStoreCookies ARGS1 (
 	    CTRACE((tfp, "STORED\n"));
 	}
     }
-    fclose(cookie_handle);
+    LYCloseOutput(cookie_handle);
 
     HTSYS_purge(cookie_file);
 }