svn commit: samba r3813 - in trunk/source/smbd: .

jra at samba.org jra at samba.org
Wed Nov 17 17:51:20 GMT 2004


Author: jra
Date: 2004-11-17 17:51:19 +0000 (Wed, 17 Nov 2004)
New Revision: 3813

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3813

Log:
At least use a proper constant name (aRONLY :-) not a number.
That way we can at least remember why we did this :-).
Jeremy.

Modified:
   trunk/source/smbd/trans2.c


Changeset:
Modified: trunk/source/smbd/trans2.c
===================================================================
--- trunk/source/smbd/trans2.c	2004-11-17 15:57:04 UTC (rev 3812)
+++ trunk/source/smbd/trans2.c	2004-11-17 17:51:19 UTC (rev 3813)
@@ -967,7 +967,7 @@
 				/* 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 @@
 	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;
 	}
 



More information about the samba-cvs mailing list