Clean up journal_open() to open the journal write-only
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 26 Nov 2011 19:25:04 +0000 (20:25 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 29 Dec 2011 10:47:07 +0000 (11:47 +0100)
We don't actually need update mode.

src/lib/subs/journal.c

index 527a83f9f3a273e0e26d43159a90b2069a8cef1e..88f3720463e692090333e475d1a4f45b1b911d92 100644 (file)
@@ -75,7 +75,7 @@ static void journal_output_start(struct player *, int);
 static FILE *
 journal_open(void)
 {
-    return fopen(journal_fname, "a+");
+    return fopen(journal_fname, "a");
 }
 
 static void