summaryrefslogtreecommitdiff
path: root/source4/lib/messaging
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-26 00:59:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:59:17 -0500
commit42da534d66c14c60844568246a2862da7b49f1d5 (patch)
tree4c8156ae3cb44be0483bce10b5f60bad1bd286c7 /source4/lib/messaging
parent7780e2bfa1e446d02a0168e85bf7713fd4ce475b (diff)
downloadsamba-42da534d66c14c60844568246a2862da7b49f1d5.tar.gz
samba-42da534d66c14c60844568246a2862da7b49f1d5.tar.bz2
samba-42da534d66c14c60844568246a2862da7b49f1d5.zip
r14735: Use dcerpc_syntax_id rather then seperate GUID + if_version everywhere
(This used to be commit a316b33057f3ec8532677980e093cd327d33f257)
Diffstat (limited to 'source4/lib/messaging')
-rw-r--r--source4/lib/messaging/messaging.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/lib/messaging/messaging.c b/source4/lib/messaging/messaging.c
index ff5127e79a..f3296c6938 100644
--- a/source4/lib/messaging/messaging.c
+++ b/source4/lib/messaging/messaging.c
@@ -507,7 +507,7 @@ NTSTATUS irpc_register(struct messaging_context *msg_ctx,
irpc->callnum = callnum;
irpc->fn = fn;
irpc->private = private;
- irpc->uuid = irpc->table->uuid;
+ irpc->uuid = irpc->table->syntax_id.uuid;
return NT_STATUS_OK;
}
@@ -585,7 +585,7 @@ static void irpc_handler_request(struct messaging_context *msg_ctx,
for (i=msg_ctx->irpc; i; i=i->next) {
if (GUID_equal(&i->uuid, &m->header.uuid) &&
- i->table->if_version == m->header.if_version &&
+ i->table->syntax_id.if_version == m->header.if_version &&
i->callnum == m->header.callnum) {
break;
}
@@ -717,9 +717,9 @@ struct irpc_request *irpc_call_send(struct messaging_context *msg_ctx,
talloc_set_destructor(irpc, irpc_destructor);
/* setup the header */
- header.uuid = table->uuid;
+ header.uuid = table->syntax_id.uuid;
- header.if_version = table->if_version;
+ header.if_version = table->syntax_id.if_version;
header.callid = irpc->callid;
header.callnum = callnum;
header.flags = 0;