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

Comparing gvpe/src/protocol.C (file contents):
Revision 1.14 by pcg, Sat Mar 22 22:39:11 2003 UTC vs.
Revision 1.15 by pcg, Sun Mar 23 14:49:16 2003 UTC

724 double retry_int = double (retry_cnt & 3 ? (retry_cnt & 3) : 1 << (retry_cnt >> 2)) * 0.25; 724 double retry_int = double (retry_cnt & 3 ? (retry_cnt & 3) : 1 << (retry_cnt >> 2)) * 0.25;
725 725
726 if (retry_int < 3600 * 8) 726 if (retry_int < 3600 * 8)
727 retry_cnt++; 727 retry_cnt++;
728 728
729 if (connectmode == conf_node::C_ONDEMAND
730 && retry_int > ::conf.keepalive)
731 retry_int = ::conf.keepalive;
732
733 ts = NOW + retry_int; 729 ts = NOW + retry_int;
734 730
735 if (conf->hostname) 731 if (conf->hostname)
736 { 732 {
737 reset_dstaddr (); 733 reset_dstaddr ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines