s3: libsmbclient: Fix cli_setpathinfo_basic() to treat mode == -1 as no change.
commit5386d7f4be3f13f9c9e4e6ea952ebcdab4754e3a
authorJeremy Allison <jra@samba.org>
Fri, 21 Jul 2017 16:56:45 +0000 (21 09:56 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 14 Aug 2017 12:36:20 +0000 (14 14:36 +0200)
treeb993665ae45d06d6a07a70c6c73541f1ad89d6b1
parentaafdd597c56a2e60ebcc94d57b73864fa3106366
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>
(cherry picked from commit 812006fa8f26004609901b0ddef1c3ed05eff35e)
source3/libsmb/clirap.c