summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2013-05-20 19:44:03 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2013-05-20 19:44:03 +0200
commit8e1926a6ab16cfb2e50582a964a633c575475a35 (patch)
tree1194c89d7369fbb64f508c904c69a7645be6afbb
parent8977a45e0b33da6df756d7a9c52c0dccdea7052d (diff)
sfeed_frames: bugfix, dont close unopened file handle
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
-rw-r--r--sfeed_frames.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sfeed_frames.c b/sfeed_frames.c
index 6152909..6986368 100644
--- a/sfeed_frames.c
+++ b/sfeed_frames.c
@@ -115,7 +115,6 @@ main(int argc, char **argv) {
fclose(fpindex);
return EXIT_FAILURE;
}
- fclose(fpcontent);
fputs("<html><head><link rel=\"stylesheet\" type=\"text/css\" href=\"../style.css\" /></head>", fpitems);
fputs("<body class=\"frame\"><div id=\"items\">", fpitems);