From: wessels <> Date: Tue, 21 Oct 1997 21:59:38 +0000 (+0000) Subject: just in case X-Git-Tag: SQUID_3_0_PRE1~4748 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d882dc4f890f816731176daa30f6eb0048941bfb;p=thirdparty%2Fsquid.git just in case --- diff --git a/src/ipcache.cc b/src/ipcache.cc index c32a3f972f..58c05d29a6 100644 --- a/src/ipcache.cc +++ b/src/ipcache.cc @@ -1,6 +1,6 @@ /* - * $Id: ipcache.cc,v 1.132 1997/10/17 22:09:04 wessels Exp $ + * $Id: ipcache.cc,v 1.133 1997/10/21 15:59:38 wessels Exp $ * * DEBUG: section 14 IP Cache * AUTHOR: Harvest Derived @@ -1038,7 +1038,8 @@ ipcacheCycleAddr(const char *name) return; if (i->status != IP_CACHED) return; - if (++i->addrs.cur == i->addrs.count) + i->addrs.cur++; + if (i->addrs.cur == i->addrs.count) i->addrs.cur = 0; }