1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Make use of ndr_syntax_id_equal

(This used to be commit 3ab3f26105)
This commit is contained in:
Volker Lendecke 2008-07-19 19:53:01 +02:00
parent 8e02cb17fe
commit 6fd4fedb3f

View File

@ -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;