aboutsummaryrefslogtreecommitdiffstats
path: root/w3mbookmark.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2013-07-30 11:13:51 +0000
committerTatsuya Kinoshita <tats@debian.org>2013-07-30 11:13:51 +0000
commit18b0cc756bc5d5145fc1abcd0ef46ff2455c79ab (patch)
tree88966004acc26ea238b5414bd569b86aac1b569d /w3mbookmark.c
parentSort anchors by sequence number in -dump (diff)
parentMerge branch 'feature/debian-version' (diff)
downloadw3m-18b0cc756bc5d5145fc1abcd0ef46ff2455c79ab.tar.gz
w3m-18b0cc756bc5d5145fc1abcd0ef46ff2455c79ab.zip
Merge branch 'master' into bug/sort-dump-links
Conflicts: main.c
Diffstat (limited to 'w3mbookmark.c')
-rw-r--r--w3mbookmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/w3mbookmark.c b/w3mbookmark.c
index 4355536..fcbad11 100644
--- a/w3mbookmark.c
+++ b/w3mbookmark.c
@@ -99,7 +99,7 @@ create_new_bookmark(char *bmark, char *section, char *title, char *url,
fprintf(f, "<body>\n<h1>Bookmarks</h1>\n");
fprintf(f, "<h2>%s</h2>\n<ul>\n", section);
fprintf(f, "<li><a href=\"%s\">%s</a>\n", url, title);
- fprintf(f, end_section);
+ fprintf(f, "%s", end_section);
fprintf(f, "</ul>\n</body>\n</html>\n");
fclose(f);
}