aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-10-12 04:33:39 +0200
committerPřemysl Eric Janouch <p@janouch.name>2020-10-12 04:33:39 +0200
commit559232ccb527ceeff302ced0d2bb25bc4e79996c (patch)
treeb7881763ac1c24f7233904775efb58981541aae4
parent6837fdb7c4eac3e36b297e8dd1c3943bf6767884 (diff)
downloadxK-559232ccb527ceeff302ced0d2bb25bc4e79996c.tar.gz
xK-559232ccb527ceeff302ced0d2bb25bc4e79996c.tar.xz
xK-559232ccb527ceeff302ced0d2bb25bc4e79996c.zip
kike: fix up debug messages
-rw-r--r--kike.c4
1 files changed, 2 insertions, 2 deletions
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;
}