From c03a936789569d362ff41a3a6f56732de0267ec6 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sat, 26 Jan 2013 19:54:57 +0000 Subject: [PATCH] Fixed big in autreconnect, reset timer on each connection attempt --- src/connection.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/connection.c b/src/connection.c index 27b8bb43..226a00f0 100644 --- a/src/connection.c +++ b/src/connection.c @@ -190,6 +190,7 @@ jabber_process_events(void) if (g_timer_elapsed(reconnect_timer, NULL) > prefs_get_reconnect()) { log_debug("Attempting reconnect as %s", saved_user.jid); jabber_connect(saved_user.jid, saved_user.passwd, saved_user.altdomain); + g_timer_start(reconnect_timer); } } }