From: wessels <> Date: Mon, 24 Feb 1997 11:25:13 +0000 (+0000) Subject: diskHandleWrite ZPR fix X-Git-Tag: SQUID_3_0_PRE1~5082 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a559b9fc8e7b14a54b5848596d772b021480387;p=thirdparty%2Fsquid.git diskHandleWrite ZPR fix --- diff --git a/src/disk.cc b/src/disk.cc index cd39903a4c..eac3a50ee3 100644 --- a/src/disk.cc +++ b/src/disk.cc @@ -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,