]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
diskHandleWrite ZPR fix
authorwessels <>
Mon, 24 Feb 1997 11:25:13 +0000 (11:25 +0000)
committerwessels <>
Mon, 24 Feb 1997 11:25:13 +0000 (11:25 +0000)
src/disk.cc

index cd39903a4c9f7215864e10e91a2f6d83b91245a9..eac3a50ee39b5375b3c870c60365d8a2dabb28c5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: disk.cc,v 1.55 1997/02/19 17:07:10 wessels Exp $
+ * $Id: disk.cc,v 1.56 1997/02/24 04:25:13 wessels Exp $
  *
  * DEBUG: section 6     Disk I/O Routines
  * AUTHOR: Harvest Derived
@@ -256,7 +256,7 @@ diskHandleWrite(int fd, FileEntry * entry)
                if (r->free)
                    (r->free) (r->buf);
                safe_free(r);
-           } while (entry->write_q);
+           } while ((r = entry->write_q));
            if (entry->wrt_handle) {
                entry->wrt_handle(fd,
                    errno == ENOSPC ? DISK_NO_SPACE_LEFT : DISK_ERROR,