commit 503425dbc92dc76d0997a81595ab3c3e0572f0b7 from: Omar Polo date: Thu Apr 01 08:14:52 2021 UTC improve no bookmark message commit - 6387519587c85a8c3c24c2f32a934e000185f5d7 commit + 503425dbc92dc76d0997a81595ab3c3e0572f0b7 blob - 26f194abc1b6efded84ec9340ba2a6eb65063ea5 blob + a2bbcc59aef4fc9f0250f5c2f6635843250074fb --- fs.c +++ fs.c @@ -67,7 +67,9 @@ serve_bookmarks(uint32_t peerid) FILE *f; if ((f = fopen(bookmark_file, "r")) == NULL) { - t = "# error\n\nCan't open bookmarks\n"; + t = "# Bookmarks\n\n" + "No bookmarks yet!\n" + "Create ~/.telescope/bookmarks.gmi or use `bookmark-page'.\n"; imsg_compose(ibuf, IMSG_BUF, peerid, 0, -1, t, strlen(t)); imsg_compose(ibuf, IMSG_EOF, peerid, 0, -1, NULL, 0); imsg_flush(ibuf);