From 0fcca6c627a5c9c2219ec9714df5e0bc1a44cc29 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 16 Jan 2002 23:32:10 +0000 Subject: Merged in %S fixes and XX_NOT_CHANGED fixes from 2.2. Jeremy. --- source/libsmb/clifile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/libsmb/clifile.c') diff --git a/source/libsmb/clifile.c b/source/libsmb/clifile.c index e282c9a6ab6..4b7c173a63d 100644 --- a/source/libsmb/clifile.c +++ b/source/libsmb/clifile.c @@ -175,7 +175,7 @@ static BOOL cli_unix_chmod_chown_internal(struct cli_state *cli, const char *fna BOOL cli_unix_chmod(struct cli_state *cli, const char *fname, mode_t mode) { return cli_unix_chmod_chown_internal(cli, fname, - unix_perms_to_wire(mode), UID_NO_CHANGE, GID_NO_CHANGE); + unix_perms_to_wire(mode), SMB_UID_NO_CHANGE, SMB_GID_NO_CHANGE); } /**************************************************************************** @@ -184,7 +184,7 @@ BOOL cli_unix_chmod(struct cli_state *cli, const char *fname, mode_t mode) BOOL cli_unix_chown(struct cli_state *cli, const char *fname, uid_t uid, gid_t gid) { - return cli_unix_chmod_chown_internal(cli, fname, MODE_NO_CHANGE, (uint32)uid, (uint32)gid); + return cli_unix_chmod_chown_internal(cli, fname, SMB_MODE_NO_CHANGE, (uint32)uid, (uint32)gid); } /**************************************************************************** -- cgit