summaryrefslogtreecommitdiff
path: root/source3/lib/messages_ctdbd.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-04 16:41:51 +0200
committerVolker Lendecke <vl@samba.org>2010-07-04 17:29:23 +0200
commit8cf1cd2d5c0469f170b0f81dda94a53ce8575af9 (patch)
treef206fa6bfadef3d50964ee3da1ada1119508ab08 /source3/lib/messages_ctdbd.c
parent7f0e6df88345c1154f19fd263966ad20c73f5d52 (diff)
downloadsamba-8cf1cd2d5c0469f170b0f81dda94a53ce8575af9.tar.gz
samba-8cf1cd2d5c0469f170b0f81dda94a53ce8575af9.tar.bz2
samba-8cf1cd2d5c0469f170b0f81dda94a53ce8575af9.zip
s3: Use msg_ctx->id in messaging
This removes some references to procid_self() deep inside the code
Diffstat (limited to 'source3/lib/messages_ctdbd.c')
-rw-r--r--source3/lib/messages_ctdbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/messages_ctdbd.c b/source3/lib/messages_ctdbd.c
index 847ab0fe6a..871334649d 100644
--- a/source3/lib/messages_ctdbd.c
+++ b/source3/lib/messages_ctdbd.c
@@ -80,7 +80,7 @@ static NTSTATUS messaging_ctdb_send(struct messaging_context *msg_ctx,
msg.msg_version = MESSAGE_VERSION;
msg.msg_type = msg_type;
msg.dest = pid;
- msg.src = procid_self();
+ msg.src = msg_ctx->id;
msg.buf = *data;
return ctdbd_messaging_send(ctx->conn, pid.vnn, pid.pid, &msg);