Remove one reference to PI_LSARPC
authorVolker Lendecke <vl@samba.org>
Mon, 21 Jul 2008 10:01:12 +0000 (12:01 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 21 Jul 2008 12:36:30 +0000 (14:36 +0200)
source/libsmb/libsmb_xattr.c

index 8763205d1fabec34df1eb2582a0bdfb78df6fbaf..2d8389c7705f41e2e97f16a57424e7e8d3abc691 100644 (file)
@@ -39,7 +39,8 @@ find_lsa_pipe_hnd(struct cli_state *ipc_cli)
              pipe_hnd;
              pipe_hnd = pipe_hnd->next) {
                 
-               if (rpccli_is_pipe_idx(pipe_hnd, PI_LSARPC)) {
+               if (ndr_syntax_id_equal(&pipe_hnd->abstract_syntax,
+                                       &ndr_table_lsarpc.syntax_id)) {
                        return pipe_hnd;
                }
        }