Probably because of
Code: CPP
if ( maxtries-- == 0 )      /* outatime?  */
    return 2;         /* sayso   */
it returns when MAXTRIES reaches 0.