From 9f0c18cc41cc70e1f3b637d368a56940054cef44 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Thu, 20 Apr 2017 20:25:55 +0200 Subject: degesch: fix confusing message It seemed like we were connecting albeit we were connected already. --- degesch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- cgit v1.2.3-70-g09d2