From: Volker Lendecke Date: Sat, 19 Jul 2008 17:53:01 +0000 (+0200) Subject: Make use of ndr_syntax_id_equal X-Git-Tag: samba-3.3.0pre1~467 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3ab3f2610500107c9cff677746365bba143ca9de;p=thirdparty%2Fsamba.git Make use of ndr_syntax_id_equal --- diff --git a/source/rpc_parse/parse_rpc.c b/source/rpc_parse/parse_rpc.c index fbdc3ed4834..ac5483dfd1a 100644 --- a/source/rpc_parse/parse_rpc.c +++ b/source/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;