aboutsummaryrefslogtreecommitdiffstats
path: root/kirc.c
diff options
context:
space:
mode:
Diffstat (limited to 'kirc.c')
-rw-r--r--kirc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kirc.c b/kirc.c
index 8429375..76dcc9f 100644
--- a/kirc.c
+++ b/kirc.c
@@ -37,7 +37,7 @@ log_append(char *str, char *path) {
FILE *out = fopen(path, "a");
- fprintf(out, "%s", str);
+ fprintf(out, "%s\n", str);
fclose(out);
}
@@ -105,7 +105,7 @@ printw(const char *format, ...) {
}
}
- printf("\n");
+ putchar('\n');
}
static void