summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-11-11 00:33:33 +0000
committerJeremy Allison <jra@samba.org>2000-11-11 00:33:33 +0000
commit20838bb9ed25d7a325831041f371c11731ff6283 (patch)
treeef928af674aefabb2de152a1febbbc2afc52b8d1 /source3/lib
parentc97023b14c942f7261808159a0d192926239b704 (diff)
downloadsamba-20838bb9ed25d7a325831041f371c11731ff6283.tar.gz
samba-20838bb9ed25d7a325831041f371c11731ff6283.tar.bz2
samba-20838bb9ed25d7a325831041f371c11731ff6283.zip
Merge of Herb's profiling code.
Jeremy. (This used to be commit 3be056c71aa8e0a4ba70d397107199004bdb7d3f)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/messages.c1
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;
}