summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-02-23 15:04:10 +0100
committerVolker Lendecke <vl@samba.org>2010-02-23 15:30:00 +0100
commit752bffc53fcf296f841d62ffbf8d424f9e8e66bd (patch)
treed5139fe0fd5974d94262524112679e5cc6efd0e1 /source3/torture
parentce7727c1cc2fe4caa9b2d6e33530c3483dd5f980 (diff)
downloadsamba-752bffc53fcf296f841d62ffbf8d424f9e8e66bd.tar.gz
samba-752bffc53fcf296f841d62ffbf8d424f9e8e66bd.tar.bz2
samba-752bffc53fcf296f841d62ffbf8d424f9e8e66bd.zip
s3: Consolidate server_id_self into the equivalent procid_self()
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/msgtest.c2
-rw-r--r--source3/torture/vfstest.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/msgtest.c b/source3/torture/msgtest.c
index c447ac63d0..db9e5898b8 100644
--- a/source3/torture/msgtest.c
+++ b/source3/torture/msgtest.c
@@ -53,7 +53,7 @@ static void pong_message(struct messaging_context *msg_ctx,
lp_load(get_dyn_CONFIGFILE(),False,False,False,True);
if (!(evt_ctx = tevent_context_init(NULL)) ||
- !(msg_ctx = messaging_init(NULL, server_id_self(), evt_ctx))) {
+ !(msg_ctx = messaging_init(NULL, procid_self(), evt_ctx))) {
fprintf(stderr, "could not init messaging context\n");
exit(1);
}
diff --git a/source3/torture/vfstest.c b/source3/torture/vfstest.c
index 2a191c2800..d5237827d8 100644
--- a/source3/torture/vfstest.c
+++ b/source3/torture/vfstest.c
@@ -492,7 +492,7 @@ struct messaging_context *smbd_messaging_context(void)
{
static struct messaging_context *ctx;
- if (!ctx && !(ctx = messaging_init(NULL, server_id_self(),
+ if (!ctx && !(ctx = messaging_init(NULL, procid_self(),
smbd_event_context()))) {
smb_panic("Could not init smbd messaging context\n");
}