s3: libsmbclient: Fix cli_setpathinfo_basic() to treat mode == -1 as no change.
authorJeremy Allison <jra@samba.org>
Fri, 21 Jul 2017 16:56:45 +0000 (09:56 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 14 Aug 2017 08:50:10 +0000 (10:50 +0200)
commitbfa7ac0ab5b9295df3102bca99edeb198decd0cb
tree23213f43577744bb2c1e1ca52e56417ae98c5c7f
parentad113e076b2a4875cbf056903a741ee913fd1688
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