diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/messages.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/messages.c b/source3/lib/messages.c index 1cc6700ea9..126ca768b7 100644 --- a/source3/lib/messages.c +++ b/source3/lib/messages.c @@ -334,6 +334,7 @@ static int traverse_fn(TDB_CONTEXT *the_tdb, TDB_DATA kbuf, TDB_DATA dbuf, void memcpy(&crec, dbuf.dptr, sizeof(crec)); + if (crec.cnum == -1) return 0; message_send_pid(crec.pid, msg_all.msg_type, msg_all.buf, msg_all.len); return 0; } |