diff options
| author | Louis Burda <quent.burda@gmail.com> | 2021-06-09 00:37:42 +0200 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2021-06-09 00:37:42 +0200 |
| commit | 78bf5d564e712cd604eb8f8ac612be5a7b4e186c (patch) | |
| tree | fa48a76a940cccb7a8a2a2b58f674b3f8f205d6e /service/src/util.c | |
| parent | acd91305638fc2de783b22ed23b67141538e5328 (diff) | |
| download | enowars5-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.c | 2 |
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); } |
