Fix a rather bad latency problem (uncovered by the recent timer commit).
Problem reported by: Christopher Hall <hsw@acm.org>
This commit is contained in:
parent
114c5c6512
commit
8b09cf1cc7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=41830
@ -23,7 +23,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: datalink.c,v 1.20 1998/10/17 12:28:06 brian Exp $
|
||||
* $Id: datalink.c,v 1.21 1998/12/10 18:36:53 brian Exp $
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
@ -256,9 +256,9 @@ datalink_UpdateSet(struct descriptor *d, fd_set *r, fd_set *w, fd_set *e,
|
||||
log_Printf(LogCHAT, "%s: Dial attempt %u of %d\n",
|
||||
dl->name, dl->cfg.dial.max - dl->dial_tries,
|
||||
dl->cfg.dial.max);
|
||||
return datalink_UpdateSet(d, r, w, e, n);
|
||||
} else
|
||||
datalink_LoginDone(dl);
|
||||
return datalink_UpdateSet(d, r, w, e, n);
|
||||
} else {
|
||||
if (!(dl->physical->type & (PHYS_DDIAL|PHYS_DEDICATED)) &&
|
||||
dl->cfg.dial.max)
|
||||
|
Loading…
Reference in New Issue
Block a user