summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-01-11 19:22:08 +0000
committerJeremy Allison <jra@samba.org>2001-01-11 19:22:08 +0000
commita4763f59382a66a2ad45ce6ba88fe03faca18714 (patch)
treef35102ec64e05c98f271e36048f51dd2847680cc /source3/lib
parentadb91565b5ec81ebb9e0d57b7d91fbd9da410aa3 (diff)
downloadsamba-a4763f59382a66a2ad45ce6ba88fe03faca18714.tar.gz
samba-a4763f59382a66a2ad45ce6ba88fe03faca18714.tar.bz2
samba-a4763f59382a66a2ad45ce6ba88fe03faca18714.zip
Fix from John for growing messages.tdb.
Jeremy. (This used to be commit 6dc83a8c665dd6774ce597cf7269ad4d8c5380cf)
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 d46ad74553..bc6f209938 100644
--- a/source3/lib/messages.c
+++ b/source3/lib/messages.c
@@ -161,6 +161,7 @@ BOOL message_send_pid(pid_t pid, int msg_type, void *buf, size_t len, BOOL dupli
*/
if (!process_exists(pid)) {
+ tdb_delete(tdb, message_key_pid(pid));
DEBUG(2,("message_send_pid: pid %d doesn't exist\n", (int)pid));
return False;
}