svn commit: samba r19932 - in branches/SAMBA_3_0/source/lib: .
vlendec at samba.org
vlendec at samba.org
Tue Nov 28 13:41:45 GMT 2006
Author: vlendec
Date: 2006-11-28 13:41:45 +0000 (Tue, 28 Nov 2006)
New Revision: 19932
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19932
Log:
Add some const
Modified:
branches/SAMBA_3_0/source/lib/privileges.c
Changeset:
Modified: branches/SAMBA_3_0/source/lib/privileges.c
===================================================================
--- branches/SAMBA_3_0/source/lib/privileges.c 2006-11-28 13:30:15 UTC (rev 19931)
+++ branches/SAMBA_3_0/source/lib/privileges.c 2006-11-28 13:41:45 UTC (rev 19932)
@@ -309,7 +309,8 @@
check if the privilege is in the privilege list
****************************************************************************/
-static BOOL is_privilege_assigned( SE_PRIV *privileges, const SE_PRIV *check )
+static BOOL is_privilege_assigned( const SE_PRIV *privileges,
+ const SE_PRIV *check )
{
SE_PRIV p1, p2;
@@ -740,7 +741,7 @@
at a time here.
*****************************************************************************/
-BOOL user_has_privileges(NT_USER_TOKEN *token, const SE_PRIV *privilege)
+BOOL user_has_privileges(const NT_USER_TOKEN *token, const SE_PRIV *privilege)
{
if ( !token )
return False;
More information about the samba-cvs
mailing list