aboutsummaryrefslogtreecommitdiff
path: root/src/sc_parse.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2016-08-27 12:27:04 +0200
committerThomas White <taw@bitwiz.org.uk>2016-08-27 12:27:04 +0200
commitc65a347b8384aaac7c6c8acf725e902485e6515c (patch)
tree03f6ffdd67a7d725e16bfe10ce6869054a94aea2 /src/sc_parse.c
parenta0dd6b0b1af4184eca8550ff37adc501563b0c31 (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.c2
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;
}