<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3676" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=192045218-18052010>Looking at the retry
handling in rc_send_server() in sendserver.c, it appears that "retries" actually
means "tries".</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=192045218-18052010></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=192045218-18052010>Lines 325
to 330: </SPAN></FONT></DIV><SPAN class=192045218-18052010>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT
face=Arial size=2></FONT><BR><FONT face=Arial><FONT
size=2> /*<BR> * Timed out waiting for response.
Retry "retry_max" times<BR> * before giving up. If retry_max =
0, don't retry at all.<BR> */<BR> if (++retries >=
retry_max)<BR><SPAN
class=192045218-18052010> {</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=192045218-18052010></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=192045218-18052010></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=192045218-18052010> ...</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=192045218-18052010>
return TIMEOUT_RC;<BR> }</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=192045218-18052010><FONT face=Arial size=2>After the first time
out, retries is pre-incremented to 1 thus being greater than or equal to 0 or 1
(so setting retry_max to 0 or 1 has the same effect).</FONT></SPAN></DIV>
<DIV><SPAN class=192045218-18052010><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=192045218-18052010><FONT face=Arial size=2>I think the fix is
simply to change the line to:</FONT></SPAN></DIV>
<DIV><SPAN class=192045218-18052010><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=192045218-18052010><FONT face=Arial size=2> if
(retries++ >= retry_max)</FONT><BR></SPAN></DIV></SPAN></BODY></HTML>