diff --git a/kike.c b/kike.c index 8c77a7b..1cb6091 100644 --- a/kike.c +++ b/kike.c @@ -3082,7 +3082,7 @@ irc_try_read (struct client *c) if (errno == EINTR) continue; - print_debug ("%s: %s: %s", __func__, "recv", strerror (errno)); + print_debug ("%s: %s: %s", __func__, "read", strerror (errno)); client_kill (c, strerror (errno)); return false; } @@ -3149,7 +3149,7 @@ irc_try_write (struct client *c) if (errno == EINTR) continue; - print_debug ("%s: %s: %s", __func__, "send", strerror (errno)); + print_debug ("%s: %s: %s", __func__, "write", strerror (errno)); client_kill (c, strerror (errno)); return false; }