summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-11-17 17:51:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:18 -0500
commit672b22ae43682b752a6af1b8aabf996a9823e4b8 (patch)
treea01983fd314fe2208423f2f3ed23dd03bb52e4ac /source3/smbd
parent99dd85abe9b96ee78421430f837c97703f09be0f (diff)
downloadsamba-672b22ae43682b752a6af1b8aabf996a9823e4b8.tar.gz
samba-672b22ae43682b752a6af1b8aabf996a9823e4b8.tar.bz2
samba-672b22ae43682b752a6af1b8aabf996a9823e4b8.zip
r3814: At least use a proper constant name (aRONLY :-) not a number.
That way we can at least remember why we did this :-). Jeremy. (This used to be commit d84f5f8cc10f89d5fbd6cfb694bccfbd1c3d8a3f)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/trans2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 31a3961550..afe4d352ff 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -967,7 +967,7 @@ static BOOL get_lanman2_dir_entry(connection_struct *conn,
/* This is necessary, as otherwise the
* desktop.ini file in this folder is
* ignored */
- mode |= (lp_profile_acls(SNUM(conn)) ? 1 : 0);
+ mode |= (lp_profile_acls(SNUM(conn)) ? aRONLY : 0);
file_size = 0;
}
@@ -2515,7 +2515,7 @@ static int call_trans2qfilepathinfo(connection_struct *conn, char *inbuf, char *
if (mode & aDIR) {
/* This is necessary, as otherwise the desktop.ini file in
* this folder is ignored */
- mode |= (lp_profile_acls(SNUM(conn)) ? 1 : 0);
+ mode |= (lp_profile_acls(SNUM(conn)) ? aRONLY : 0);
file_size = 0;
}