summaryrefslogtreecommitdiff
path: root/source3/librpc/rpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-17 13:46:13 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-17 13:46:13 +0200
commitf303547e1f34de0b12f1341c6e234112aa37b9f0 (patch)
tree6185abfcc33163537003c814531c52329ef3ece2 /source3/librpc/rpc
parent0a98fdd504b7acfdc821fd11c70b015981ba777c (diff)
downloadsamba-f303547e1f34de0b12f1341c6e234112aa37b9f0.tar.gz
samba-f303547e1f34de0b12f1341c6e234112aa37b9f0.tar.bz2
samba-f303547e1f34de0b12f1341c6e234112aa37b9f0.zip
Remove copying of interface syntax id.
(This used to be commit 0012dfbe1fcf17486a24366b939054b5637646e3)
Diffstat (limited to 'source3/librpc/rpc')
-rw-r--r--source3/librpc/rpc/dcerpc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/librpc/rpc/dcerpc.c b/source3/librpc/rpc/dcerpc.c
index b1ebabb925..654ccb1a15 100644
--- a/source3/librpc/rpc/dcerpc.c
+++ b/source3/librpc/rpc/dcerpc.c
@@ -118,7 +118,6 @@ _PUBLIC_ NTSTATUS dcerpc_pipe_connect(TALLOC_CTX *parent_ctx, struct dcerpc_pipe
struct dcerpc_binding *binding;
NTSTATUS nt_status;
int idx;
- RPC_IFACE iface_syntax;
nt_status = dcerpc_parse_binding(p, binding_string, &binding);
@@ -152,10 +151,7 @@ _PUBLIC_ NTSTATUS dcerpc_pipe_connect(TALLOC_CTX *parent_ctx, struct dcerpc_pipe
return nt_status;
}
- iface_syntax.uuid = table->syntax_id.uuid;
- iface_syntax.version = table->syntax_id.if_version;
-
- idx = cli_get_pipe_idx(&iface_syntax);
+ idx = cli_get_pipe_idx(&table->syntax_id);
if (idx < 0) {
DEBUG(0, ("Unable to find interface index"));
talloc_free(p);