From: hno <> Date: Sat, 17 Nov 2001 18:08:55 +0000 (+0000) Subject: Indend X-Git-Tag: SQUID_3_0_PRE1~1283 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=baefbb0561feeef5e269df5f17a928df2c839c51;p=thirdparty%2Fsquid.git Indend --- diff --git a/src/peer_select.cc b/src/peer_select.cc index 0becece3b7..3ca0d54410 100644 --- a/src/peer_select.cc +++ b/src/peer_select.cc @@ -1,6 +1,6 @@ /* - * $Id: peer_select.cc,v 1.118 2001/11/15 01:17:29 hno Exp $ + * $Id: peer_select.cc,v 1.119 2001/11/17 11:08:55 hno Exp $ * * DEBUG: section 44 Peer Selection Algorithm * AUTHOR: Duane Wessels @@ -536,7 +536,7 @@ peerIcpParentMiss(peer * p, icp_common_t * header, ps_state * ps) return; rtt = tvSubMsec(ps->ping.start, current_time) / p->weight; if (ps->first_parent_miss.sin_addr.s_addr == any_addr.s_addr || - rtt < ps->ping.w_rtt) { + rtt < ps->ping.w_rtt) { ps->first_parent_miss = p->in_addr; ps->ping.w_rtt = rtt; } @@ -624,7 +624,7 @@ peerHtcpParentMiss(peer * p, htcpReplyData * htcp, ps_state * ps) return; rtt = tvSubMsec(ps->ping.start, current_time) / p->weight; if (ps->first_parent_miss.sin_addr.s_addr == any_addr.s_addr || - rtt < ps->ping.w_rtt) { + rtt < ps->ping.w_rtt) { ps->first_parent_miss = p->in_addr; ps->ping.w_rtt = rtt; }