From 672b22ae43682b752a6af1b8aabf996a9823e4b8 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 17 Nov 2004 17:51:27 +0000 Subject: 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) --- source3/smbd/trans2.c | 4 ++-- 1 file 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; } -- cgit