s3: libsmbclient: Fix cli_setpathinfo_basic() to treat mode == -1 as no change.
commit527d1aaac89653a1a9453901e5ec224359aa1c9f
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 08:21:42 +0000 (14 10:21 +0200)
treeb3f3a4f402e40b66391f5c3da42a398363715174
parent53643ac0eb2391ddebab11916f010d28039eb4ba
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