diff options
author | Thomas White <taw@bitwiz.org.uk> | 2016-08-27 12:27:04 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2016-08-27 12:27:04 +0200 |
commit | c65a347b8384aaac7c6c8acf725e902485e6515c (patch) | |
tree | 03f6ffdd67a7d725e16bfe10ce6869054a94aea2 /src/sc_parse.c | |
parent | a0dd6b0b1af4184eca8550ff37adc501563b0c31 (diff) |
Write with fputs() not fprintf()
Not entirely sure why I used fprintf, because it's very bad here.
Diffstat (limited to 'src/sc_parse.c')
-rw-r--r-- | src/sc_parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sc_parse.c b/src/sc_parse.c index 659f0a3..4329337 100644 --- a/src/sc_parse.c +++ b/src/sc_parse.c @@ -321,7 +321,7 @@ void save_sc_block(FILE *fh, const SCBlock *bl) fprintf(stderr, "Failed to serialise block\n"); return; } - fprintf(fh, a); + fputs(a, fh); free(a); bl = bl->next; } |