s3: libsmbclient: Fix cli_setpathinfo_basic() to treat mode == -1 as no change.
commit812006fa8f26004609901b0ddef1c3ed05eff35e
authorJeremy Allison <jra@samba.org>
Fri, 21 Jul 2017 16:56:45 +0000 (21 09:56 -0700)
committerRalph Boehme <slow@samba.org>
Tue, 25 Jul 2017 15:43:15 +0000 (25 17:43 +0200)
tree8be884274442ce1eafb3be620c170095e19b3cfa
parentee9f4374ed5e531e8af008eb0642108bca1d2744
s3: libsmbclient: Fix cli_setpathinfo_basic() to treat mode == -1 as no change.

This is only called from SMBC_setatr(), so bring it into line with
the specification for that function.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12913

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/libsmb/clirap.c