Commit Diff


commit - f8d01951c19999cc7d089b363cf6ab4a25b887b9
commit + dcc7c9d031571d50c9c3220d2f509dab928d1b40
blob - 8877a277156d18f991352fb9368178b931ca27e8
blob + 54d8915ffad5f234d4918968c87aadb25f241730
--- gotd/session_read.c
+++ gotd/session_read.c
@@ -147,7 +147,7 @@ gotd_request_timeout(int fd, short events, void *arg)
 {
 	struct gotd_session_client *client = arg;
 
-	log_warn("disconnecting uid %d due to timeout", client->euid);
+	log_warnx("disconnecting uid %d due to timeout", client->euid);
 	disconnect(client);
 }
 
blob - 467ded58f10a500daea969a50491a39e1df80958
blob + 00904227576e713f3325d9192574eefa927d8040
--- gotd/session_write.c
+++ gotd/session_write.c
@@ -158,7 +158,7 @@ gotd_request_timeout(int fd, short events, void *arg)
 {
 	struct gotd_session_client *client = arg;
 
-	log_warn("disconnecting uid %d due to timeout", client->euid);
+	log_warnx("disconnecting uid %d due to timeout", client->euid);
 	disconnect(client);
 }