diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2023-01-07 16:54:56 +0000 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2023-01-07 17:00:30 +0000 |
commit | 1bfe2404c96164d626d716419c7077d569470c83 (patch) | |
tree | 80c9dd63c9aa596b90632a204f9e8936adb0d791 /src | |
parent | e6acd7895fb6793540ce73b2f1f0d81b84179483 (diff) | |
download | lynx-snapshots-1bfe2404c96164d626d716419c7077d569470c83.tar.gz |
snapshot of project "lynx", label v2-9-0dev_11c
Diffstat (limited to 'src')
-rw-r--r-- | src/LYBookmark.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/LYBookmark.c b/src/LYBookmark.c index 8cbd1a70..ee88cf95 100644 --- a/src/LYBookmark.c +++ b/src/LYBookmark.c @@ -1,5 +1,5 @@ /* - * $LynxId: LYBookmark.c,v 1.87 2022/12/04 20:41:31 tom Exp $ + * $LynxId: LYBookmark.c,v 1.88 2023/01/07 16:09:53 tom Exp $ */ #include <HTUtils.h> #include <HTAlert.h> @@ -371,6 +371,7 @@ void save_bookmark_link(const char *address, FILE *bp = tmpfile(); char *buffer = NULL; + rewind(fp); while (LYSafeGets(&buffer, fp)) { empty_file = FALSE; if (LYstrstr(buffer, "</ol>")) |