diff options
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>")) |