summaryrefslogtreecommitdiff
path: root/blabouncer.c
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-06-13 10:04:35 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-06-13 10:04:35 +0100
commitdb0ab741a43a56ed898112fa09af6e465272cd25 (patch)
tree3a661006c705e8d79557a03cd71c7bfc55b0706f /blabouncer.c
parent6a2f7b87d4fb19f30f64ede4b18582eb366c8b7d (diff)
Just debugprint() the socket fd number if there was a client read error.
Diffstat (limited to 'blabouncer.c')
-rw-r--r--blabouncer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/blabouncer.c b/blabouncer.c
index 04a87ba..baf27c6 100644
--- a/blabouncer.c
+++ b/blabouncer.c
@@ -741,7 +741,7 @@ void dochat(int *serversockfd, int *clientsockfd, struct settings *settings) {
// connection closed
debugprint(DEBUG_SOME, "bouncer-client: socket %d hung up\n", i);
} else {
- debugprint(DEBUG_CRIT, "dochat(): client sockread() error (%s) (%s).\n", clientnumbytes, strerror(errno));
+ debugprint(DEBUG_CRIT, "dochat(): client sockread() error fd '%d'.\n", i);
}
// Disconnect the client
disconnectclient(i, clients, &ircdstate, settings);