]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
just in case
authorwessels <>
Tue, 21 Oct 1997 21:59:38 +0000 (21:59 +0000)
committerwessels <>
Tue, 21 Oct 1997 21:59:38 +0000 (21:59 +0000)
src/ipcache.cc

index c32a3f972fdb4453fbeaa20bfa2ec4310e200088..58c05d29a6f029d2544fe80921b17c2ae92779f9 100644 (file)
@@ -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;
 }