diff options
author | Volker Lendecke <vl@samba.org> | 2010-02-23 17:17:58 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-02-23 17:20:28 +0100 |
commit | c31cf0a1b5b113c1221477238efa6b131e884bcf (patch) | |
tree | 9a7b040ebc35f5c707cd2d45ed95d3e8b59c18c7 /source3/torture | |
parent | 0278ef8ce30518c3a3e4c20a51c751ea2aab9add (diff) | |
download | samba-c31cf0a1b5b113c1221477238efa6b131e884bcf.tar.gz samba-c31cf0a1b5b113c1221477238efa6b131e884bcf.tar.bz2 samba-c31cf0a1b5b113c1221477238efa6b131e884bcf.zip |
s3: Consolidate some pid_to_procid() calls to procid_self()
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/msgtest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/msgtest.c b/source3/torture/msgtest.c index db9e5898b8..0c4c96bd76 100644 --- a/source3/torture/msgtest.c +++ b/source3/torture/msgtest.c @@ -87,9 +87,9 @@ 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, pid_to_procid(getpid()), MSG_PING, + messaging_send(msg_ctx, procid_self(), MSG_PING, &data_blob_null); - messaging_send_buf(msg_ctx, pid_to_procid(getpid()), MSG_PING, + messaging_send_buf(msg_ctx, procid_self(), MSG_PING, (uint8 *)buf, 11); } |