From 2a559b9fc8e7b14a54b5848596d772b021480387 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Mon, 24 Feb 1997 11:25:13 +0000 Subject: [PATCH] diskHandleWrite ZPR fix --- src/disk.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- 2.39.5