X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fjournal.c;h=9cab78805177592a00b0ca92041ab6cf0fc99f92;hb=b0269e285ccdf7acb8d6231f29d85b56cfdd676c;hp=92fa793be1db62ebaae4575732b6e5e8b5e60401;hpb=a353919df75c25331144602421353a856f4236d6;p=pspp diff --git a/src/output/journal.c b/src/output/journal.c index 92fa793be1..9cab788051 100644 --- a/src/output/journal.c +++ b/src/output/journal.c @@ -78,7 +78,7 @@ journal_destroy (struct output_driver *driver) { struct journal_driver *j = journal_driver_cast (driver); - if ( !j->destroyed) + if (!j->destroyed) journal_close (); j->destroyed = true; @@ -87,7 +87,7 @@ journal_destroy (struct output_driver *driver) static void journal_output (struct journal_driver *j, const char *s) { - if ( j->file == NULL) + if (j->file == NULL) return; fprintf (j->file, "%s\n", s);