ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/connection.C
(Generate patch)

Comparing gvpe/src/connection.C (file contents):
Revision 1.36 by pcg, Sun May 30 17:36:00 2004 UTC vs.
Revision 1.37 by pcg, Fri Jun 11 15:56:34 2004 UTC

744 && connectmode != conf_node::C_DISABLED 744 && connectmode != conf_node::C_DISABLED
745 && NOW > w.at) 745 && NOW > w.at)
746 { 746 {
747 double retry_int = double (retry_cnt & 3 ? (retry_cnt & 3) : 1 << (retry_cnt >> 2)) * 0.6; 747 double retry_int = double (retry_cnt & 3 ? (retry_cnt & 3) : 1 << (retry_cnt >> 2)) * 0.6;
748 748
749 if (retry_int < 3600 * 8) 749 if (retry_int < conf->max_retry)
750 retry_cnt++; 750 retry_cnt++;
751 else
752 retry_int = conf->max_retry;
751 753
752 w.start (NOW + retry_int); 754 w.start (NOW + retry_int);
753 755
754 reset_si (); 756 reset_si ();
755 757

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines