summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-19 21:00:41 +0200
committerVolker Lendecke <vl@samba.org>2010-08-06 15:15:57 +0200
commitbf9a1dd4605cbf9c29e2b5bab9042b389980f1da (patch)
tree4cd1ccf95eafe2b3ef8fd7c72007cbc311e20125
parente6604e5d20c4ec45787ff49d5392484ef1d2f313 (diff)
downloadsamba-bf9a1dd4605cbf9c29e2b5bab9042b389980f1da.tar.gz
s3: Remove some explicit calls to procid_self()
-rw-r--r--source3/torture/msgtest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/torture/msgtest.c b/source3/torture/msgtest.c
index 104b171e64f..6d1a6897724 100644
--- a/source3/torture/msgtest.c
+++ b/source3/torture/msgtest.c
@@ -88,10 +88,10 @@ static void pong_message(struct messaging_context *msg_ctx,
safe_strcpy(buf, "1234567890", sizeof(buf)-1);
for (i=0;i<n;i++) {
- messaging_send(msg_ctx, procid_self(), MSG_PING,
+ messaging_send(msg_ctx, messaging_server_id(msg_ctx), MSG_PING,
&data_blob_null);
- messaging_send_buf(msg_ctx, procid_self(), MSG_PING,
- (uint8 *)buf, 11);
+ messaging_send_buf(msg_ctx, messaging_server_id(msg_ctx),
+ MSG_PING,(uint8 *)buf, 11);
}
for (i=0;i<n;i++) {