diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2000-04-01 00:54:50 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2000-04-01 00:54:50 -0500 |
commit | 4c510de6f295a8d3377bdb81f18050190ee58a59 (patch) | |
tree | b6597ca1fcb050d1842044030a5daa8d934814fa /src/HTFWriter.c | |
parent | c68ecb8b21bef3908cb17f8d1d4af694bf7e7137 (diff) | |
download | lynx-snapshots-4c510de6f295a8d3377bdb81f18050190ee58a59.tar.gz |
snapshot of project "lynx", label v2-8-3pre_1
Diffstat (limited to 'src/HTFWriter.c')
-rw-r--r-- | src/HTFWriter.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/HTFWriter.c b/src/HTFWriter.c index 6e7c78ae..aadd1dbd 100644 --- a/src/HTFWriter.c +++ b/src/HTFWriter.c @@ -37,6 +37,10 @@ extern int exec_command(char * cmd, int wait_flag); /* xsystem.c */ #include <LYLeaks.h> #include <LYKeymap.h> +#ifdef EXP_PERSISTENT_COOKIES +#include <LYCookie.h> +#endif + PUBLIC char * WWW_Download_File=NULL; /* contains the name of the temp file ** which is being downloaded into */ @@ -421,6 +425,14 @@ PRIVATE void HTFWriter_free ARGS1(HTStream *, me) if (me->anchor->FileCache) remove(me->anchor->FileCache); FREE(me); +#ifdef EXP_PERSISTENT_COOKIES + /* + * We want to save cookies picked up when in source + * mode. ... + */ + if (persistent_cookies) + LYStoreCookies(LYCookieSaveFile); +#endif /* EXP_PERSISTENT_COOKIES */ exit_immediately(0); } |