summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-19 19:53:01 +0200
committerVolker Lendecke <vl@samba.org>2008-07-19 19:53:01 +0200
commit6fd4fedb3f81dbc256da57a0e943018d3a489d83 (patch)
treedacc722f46d376681a55b2fcea1aa3415a45a2f9
parent8e02cb17fe5e9931532b0ecf0b61825f500fd719 (diff)
downloadsamba-6fd4fedb3f81dbc256da57a0e943018d3a489d83.tar.gz
samba-6fd4fedb3f81dbc256da57a0e943018d3a489d83.tar.bz2
samba-6fd4fedb3f81dbc256da57a0e943018d3a489d83.zip
Make use of ndr_syntax_id_equal
(This used to be commit 3ab3f2610500107c9cff677746365bba143ca9de)
-rw-r--r--source3/rpc_parse/parse_rpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_parse/parse_rpc.c b/source3/rpc_parse/parse_rpc.c
index fbdc3ed483..ac5483dfd1 100644
--- a/source3/rpc_parse/parse_rpc.c
+++ b/source3/rpc_parse/parse_rpc.c
@@ -80,9 +80,9 @@ int cli_get_pipe_idx(const RPC_IFACE *syntax)
{
int i;
for (i = 0; pipe_names[i].client_pipe; i++) {
- if (GUID_equal(&pipe_names[i].abstr_syntax->uuid, &syntax->uuid) &&
- pipe_names[i].abstr_syntax->if_version == syntax->if_version)
+ if (ndr_syntax_id_equal(pipe_names[i].abstr_syntax, syntax)) {
return i;
+ }
}
return -1;