diff options
author | mcpcpc <michaelczigler@icloud.com> | 2020-09-14 17:22:10 -0400 |
---|---|---|
committer | mcpcpc <michaelczigler@icloud.com> | 2020-09-14 17:22:10 -0400 |
commit | 0c1f181ff857e2e25cdf45b9fcba21242c3f83b1 (patch) | |
tree | 7cc446e51895a50d835226d354710ba7ea9eaca2 /kirc.c | |
parent | add guard around 'if' statement (diff) | |
download | kirc-0c1f181ff857e2e25cdf45b9fcba21242c3f83b1.tar.gz kirc-0c1f181ff857e2e25cdf45b9fcba21242c3f83b1.tar.bz2 kirc-0c1f181ff857e2e25cdf45b9fcba21242c3f83b1.tar.xz kirc-0c1f181ff857e2e25cdf45b9fcba21242c3f83b1.tar.zst kirc-0c1f181ff857e2e25cdf45b9fcba21242c3f83b1.zip |
fix logged output
Diffstat (limited to 'kirc.c')
-rw-r--r-- | kirc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |