diff options
author | John Kohl <jtkohl@mit.edu> | 1989-10-26 07:25:39 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1989-10-26 07:25:39 +0000 |
commit | 23cb0cf00b4137cb1332a57254d3f23cdf742c0f (patch) | |
tree | 4b4c5394dcbf779e97ddf695d23952fbb8b728d8 /lib/ZIfNotice.c | |
parent | a2c1a58af3ebc62dca2f6348d489362d72c747f1 (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.c | 5 |
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 */ } } |