summaryrefslogtreecommitdiff
path: root/source3/torture/msgtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/torture/msgtest.c')
-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 104b171e64..6d1a689772 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++) {