From 23cb0cf00b4137cb1332a57254d3f23cdf742c0f Mon Sep 17 00:00:00 2001 From: John Kohl Date: Thu, 26 Oct 1989 07:25:39 +0000 Subject: fix BUG: qptr was never updated after the first queue scan, so the expected notice would never be seen. --- lib/ZIfNotice.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/ZIfNotice.c') diff --git a/lib/ZIfNotice.c b/lib/ZIfNotice.c index 8c69d01..32b6b83 100644 --- a/lib/ZIfNotice.c +++ b/lib/ZIfNotice.c @@ -13,7 +13,7 @@ /* $Header$ */ #ifndef lint -static char rcsid_ZIfNotice_c[] = "$Header$"; +static char rcsid_ZIfNotice_c[] = "$Id$"; #endif lint #include @@ -59,5 +59,8 @@ Code_t ZIfNotice(notice, from, predicate, args) } if ((retval = Z_ReadWait()) != ZERR_NONE) return (retval); + qptr = Z_GetFirstComplete(); /* need to look over all of + the queued messages, in case + a fragment has been reassembled */ } } -- cgit v1.2.3