aboutsummaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2017-04-20 20:25:55 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2017-04-20 20:26:04 +0200
commit9f0c18cc41cc70e1f3b637d368a56940054cef44 (patch)
tree69047cf41aae6e4417f7f0270d6d02af1be7f93f /degesch.c
parent1313a712df1aeb41b5eccdc8c530d92a0c28d394 (diff)
downloadxK-9f0c18cc41cc70e1f3b637d368a56940054cef44.tar.gz
xK-9f0c18cc41cc70e1f3b637d368a56940054cef44.tar.xz
xK-9f0c18cc41cc70e1f3b637d368a56940054cef44.zip
degesch: fix confusing message
It seemed like we were connecting albeit we were connected already.
Diffstat (limited to 'degesch.c')
-rw-r--r--degesch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/degesch.c b/degesch.c
index 7c71095..ecd1226 100644
--- a/degesch.c
+++ b/degesch.c
@@ -4969,7 +4969,8 @@ static void
on_irc_ping_timeout (void *user_data)
{
struct server *s = user_data;
- log_server_error (s, s->buffer, "Connection timeout");
+ log_server_error (s, s->buffer,
+ "%s: %s", "Disconnected from server", "timeout");
irc_disconnect (s);
}