summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;