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, 4 insertions, 0 deletions
diff --git a/src/LYCookie.c b/src/LYCookie.c
index e93b27f2..a3640e32 100644
--- a/src/LYCookie.c
+++ b/src/LYCookie.c
@@ -2028,7 +2028,11 @@ PUBLIC void LYLoadCookies ARGS1 (
 	};
     time_t expires;
 
+#ifdef DOSPATH	/* 1998/12/19 (Sat) 08:10:57 */
+    cookie_handle = fopen(cookie_file, "rt+");
+#else
     cookie_handle = fopen(cookie_file, "r+");
+#endif
     if (!cookie_handle)
 	return;