aboutsummaryrefslogtreecommitdiffstats
path: root/service/src/util.c
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2021-06-09 00:37:42 +0200
committerLouis Burda <quent.burda@gmail.com>2021-06-09 00:37:42 +0200
commit78bf5d564e712cd604eb8f8ac612be5a7b4e186c (patch)
treefa48a76a940cccb7a8a2a2b58f674b3f8f205d6e /service/src/util.c
parentacd91305638fc2de783b22ed23b67141538e5328 (diff)
downloadenowars5-service-stldoctor-78bf5d564e712cd604eb8f8ac612be5a7b4e186c.tar.gz
enowars5-service-stldoctor-78bf5d564e712cd604eb8f8ac612be5a7b4e186c.zip
fix dump() command extra newline, added new welcome message
Diffstat (limited to 'service/src/util.c')
-rw-r--r--service/src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/src/util.c b/service/src/util.c
index 140d08b..d8b9c98 100644
--- a/service/src/util.c
+++ b/service/src/util.c
@@ -127,7 +127,7 @@ dump(const char *filename)
if (!(f = fopen(filename, "r"))) return;
while ((nb = fread(buf, 1, sizeof(buf) - 1, f)))
- printf("%.*s\n", nb, buf);
+ printf("%.*s", nb, buf);
fclose(f);
}