git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
552d6bc
)
removed unnecessary process_exists() call in message_send_pid()
author
Andrew Tridgell
<tridge@samba.org>
Mon, 15 Jan 2001 01:47:00 +0000
(
01:47
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Mon, 15 Jan 2001 01:47:00 +0000
(
01:47
+0000)
it slows us down and doesn't gain anything
(This used to be commit
30fb31a3ab05ab6bb6c89cb457e2216e34b963e6
)
source3/lib/messages.c
patch
|
blob
|
history
diff --git
a/source3/lib/messages.c
b/source3/lib/messages.c
index 94c04cfa8e67c5152b3da19afef4e19dc4e2b9a0..661a1ab0ef698b19c37aabda732379c85412cc05 100644
(file)
--- a/
source3/lib/messages.c
+++ b/
source3/lib/messages.c
@@
-155,17
+155,6
@@
BOOL message_send_pid(pid_t pid, int msg_type, void *buf, size_t len, BOOL dupli
struct message_rec rec;
void *p;
- /*
- * Do an early check for process exists - saves adding into a tdb
- * and deleting again if the target is not present. JRA.
- */
-
- if (!process_exists(pid)) {
- DEBUG(2,("message_send_pid: pid %d doesn't exist\n", (int)pid));
- tdb_delete(tdb, message_key_pid(pid));
- return False;
- }
-
rec.msg_version = MESSAGE_VERSION;
rec.msg_type = msg_type;
rec.dest = pid;