diff options
| author | Florian Westphal <fw@strlen.de> | 2007-07-21 18:46:28 +0000 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2007-07-21 18:46:28 +0000 |
| commit | efcca62a35000002af541c2c73cc7c42bfd0fb12 (patch) | |
| tree | 6577e3138a4e7fd40eae4fbc08319a302c143006 | |
| parent | cd65e0a56ed2af507d76c582b54254c7e4b72970 (diff) | |
| download | ngircd-efcca62a35000002af541c2c73cc7c42bfd0fb12.tar.gz ngircd-efcca62a35000002af541c2c73cc7c42bfd0fb12.zip | |
last fix accidentially broke reconnect timer.
| -rw-r--r-- | src/ngircd/conn.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c index 2cbb806c..38af44ab 100644 --- a/src/ngircd/conn.c +++ b/src/ngircd/conn.c @@ -17,7 +17,7 @@ #include "portab.h" #include "io.h" -static char UNUSED id[] = "$Id: conn.c,v 1.210 2007/06/28 15:13:39 fw Exp $"; +static char UNUSED id[] = "$Id: conn.c,v 1.211 2007/07/21 18:46:28 fw Exp $"; #include "imp.h" #include <assert.h> @@ -1346,6 +1346,7 @@ Check_Servers( void ) continue; /* Okay, try to connect now */ + Conf_Server[i].lasttry = time_now; Conf_Server[i].conn_id = SERVER_WAIT; assert(Resolve_Getfd(&Conf_Server[i].res_stat) < 0); Resolve_Name(&Conf_Server[i].res_stat, Conf_Server[i].host, cb_Connect_to_Server); |