summaryrefslogtreecommitdiff
path: root/source/libsmb/libsmb_xattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/libsmb/libsmb_xattr.c')
-rw-r--r--source/libsmb/libsmb_xattr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/libsmb/libsmb_xattr.c b/source/libsmb/libsmb_xattr.c
index f1b3d1415e..7ae872d122 100644
--- a/source/libsmb/libsmb_xattr.c
+++ b/source/libsmb/libsmb_xattr.c
@@ -39,8 +39,7 @@ find_lsa_pipe_hnd(struct cli_state *ipc_cli)
pipe_hnd;
pipe_hnd = pipe_hnd->next) {
- if (ndr_syntax_id_equal(&pipe_hnd->abstract_syntax,
- &ndr_table_lsarpc.syntax_id)) {
+ if (pipe_hnd->pipe_idx == PI_LSARPC) {
return pipe_hnd;
}
}