diff options
author | James Booth <boothj5@gmail.com> | 2013-01-26 19:54:57 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-01-26 19:54:57 +0000 |
commit | c03a936789569d362ff41a3a6f56732de0267ec6 (patch) | |
tree | dea5e14f4962796b112b0d797e95e6fa35a94fb9 | |
parent | bbdc34132583cd8a174869cdb55b82c8c05aeb45 (diff) | |
download | profani-tty-c03a936789569d362ff41a3a6f56732de0267ec6.tar.gz |
Fixed big in autreconnect, reset timer on each connection attempt
-rw-r--r-- | src/connection.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } } } |