aboutsummaryrefslogtreecommitdiff
path: root/twtxt.c
diff options
context:
space:
mode:
Diffstat (limited to 'twtxt.c')
-rw-r--r--twtxt.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/twtxt.c b/twtxt.c
index f7f8cbb..73ca46c 100644
--- a/twtxt.c
+++ b/twtxt.c
@@ -132,7 +132,9 @@ int main(int argc, char *argv[]) {
timebuf[sizeof(timebuf)-1] = '\0'; /* Terminate! */
/* Build the new line and write it into the file: */
- fprintf(twtxtfile, "%s\t%s\n", timebuf, text);
+ fputs(timebuf, twtxtfile);
+ putc('\t', twtxtfile);
+ fputs(text, twtxtfile);
/* Done. */
fclose(twtxtfile);