summaryrefslogtreecommitdiff
path: root/client_network.c
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2023-08-13 03:32:02 -0400
committerTest_User <hax@andrewyu.org>2023-08-13 03:32:02 -0400
commit5deea44551e337f4e32d0df149ca4387314fb6f1 (patch)
treeb808532a537a776afdeeeaa2bb609f72fbd10ff9 /client_network.c
parentad16c4920dff936c48e519f8aa8d2c68732d4116 (diff)
downloadcoupserv-5deea44551e337f4e32d0df149ca4387314fb6f1.tar.gz
coupserv-5deea44551e337f4e32d0df149ca4387314fb6f1.zip
Add message logging for non-verbose if the message caused an exit, also fix the missing newline on a message that will probably never be printed.
Diffstat (limited to 'client_network.c')
-rw-r--r--client_network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client_network.c b/client_network.c
index 20d2d2b..bdca265 100644
--- a/client_network.c
+++ b/client_network.c
@@ -284,7 +284,7 @@ int client_join_handler(uint64_t argc, struct string *argv) {
{ // Mostly to get rid of the compiler complaining about conversion to unsigned
time_t ctime = time(NULL);
if (ctime < 0) {
- WRITES(2, STRING("Please check your clock."));
+ WRITES(2, STRING("Please check your clock.\n"));
return 1;
}
current_time = (uint64_t)ctime;