summaryrefslogtreecommitdiff
path: root/lib/ZIfNotice.c
diff options
context:
space:
mode:
authorGravatar Robert S. French <rfrench@mit.edu>1988-06-15 12:55:05 +0000
committerGravatar Robert S. French <rfrench@mit.edu>1988-06-15 12:55:05 +0000
commitddd9009109578d25cced7c894590dea07e3005a0 (patch)
tree759bb7fb3ed36c52040ae37d4d8e46561c76d247 /lib/ZIfNotice.c
parent8954e484c2f8654993f8570558dab76218861ecd (diff)
For John
Diffstat (limited to 'lib/ZIfNotice.c')
-rw-r--r--lib/ZIfNotice.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/ZIfNotice.c b/lib/ZIfNotice.c
index 8c87aa4..7b4af2a 100644
--- a/lib/ZIfNotice.c
+++ b/lib/ZIfNotice.c
@@ -31,12 +31,7 @@ Code_t ZIfNotice(notice, from, predicate, args)
char *buffer;
struct _Z_InputQ *qptr;
- if (ZQLength())
- retval = Z_ReadEnqueue();
- else
- retval = Z_ReadWait();
-
- if (retval != ZERR_NONE)
+ if ((retval = Z_WaitForComplete()) != ZERR_NONE)
return (retval);
qptr = (struct _Z_InputQ *) Z_GetFirstComplete();