]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Andrew Beverley <andy@andybev.com>
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 6 Oct 2010 03:39:05 +0000 (16:39 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 6 Oct 2010 03:39:05 +0000 (16:39 +1300)
Fix variable name clash in heap.c

lib/heap.c

index 7675ee4f98c777e251124a3c4047ec4f9a8022a2..8226d88ca820daf0041e1e22a7e2796fa13e7d63 100644 (file)
@@ -356,8 +356,8 @@ _heap_ify_down(heap * hp, heap_node * elm)
 {
     heap_node *kid;
     int left = 0, right = 0;
-    int true = 1;
-    while (true) {
+    int isTrue = 1;
+    while (isTrue) {
         left = Left(elm->id);
         right = Right(elm->id);
         if (!_heap_node_exist(hp, left)) {