diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2025-03-15 15:17:38 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2025-03-15 15:17:38 +0100 |
commit | 20183de30a7f7164ac92dbc19c4e406a37f0572a (patch) | |
tree | 252bcc30cd3d3c475a6aba681ff3c38d6d344b86 /FICS/obsproc.c | |
parent | b616cdddce36f80f79396e19c70ad91a79cf4303 (diff) |
Terminate format with newline
Diffstat (limited to 'FICS/obsproc.c')
-rw-r--r-- | FICS/obsproc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FICS/obsproc.c b/FICS/obsproc.c index ab74d86..283ecc3 100644 --- a/FICS/obsproc.c +++ b/FICS/obsproc.c @@ -997,7 +997,7 @@ FindHistory(int p, int p1, int p_game) PRIVATE char * FindHistory2(int p, int p1, int p_game, char *End, const size_t End_size) -{ // XXX +{ FILE *fpHist; char fmt[80] = { '\0' }; int index = 0; @@ -1013,7 +1013,7 @@ FindHistory2(int p, int p1, int p_game, char *End, const size_t End_size) } msnprintf(fmt, sizeof fmt, "%%d %%*c %%*d %%*c %%*d %%*s %%*s %%*d " - "%%*d %%*d %%*d %%*s %%%zus %%ld", (End_size - 1)); + "%%*d %%*d %%*d %%*s %%%zus %%ld\n", (End_size - 1)); do { if (fscanf(fpHist, fmt, &index, End, &when) != 3) |