summaryrefslogtreecommitdiff
path: root/lib/ZIfNotice.c
diff options
context:
space:
mode:
authorGravatar John Kohl <jtkohl@mit.edu>1989-10-26 07:25:39 +0000
committerGravatar John Kohl <jtkohl@mit.edu>1989-10-26 07:25:39 +0000
commit23cb0cf00b4137cb1332a57254d3f23cdf742c0f (patch)
tree4b4c5394dcbf779e97ddf695d23952fbb8b728d8 /lib/ZIfNotice.c
parenta2c1a58af3ebc62dca2f6348d489362d72c747f1 (diff)
fix BUG: qptr was never updated after the first queue scan, so
the expected notice would never be seen.
Diffstat (limited to 'lib/ZIfNotice.c')
-rw-r--r--lib/ZIfNotice.c5
1 files changed, 4 insertions, 1 deletions
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 <zephyr/mit-copyright.h>
@@ -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 */
}
}