svn commit: samba r21197 - in branches/SAMBA_3_0_25/source/lib: .
jerry at samba.org
jerry at samba.org
Tue Feb 6 21:39:46 GMT 2007
Author: jerry
Date: 2007-02-06 21:39:45 +0000 (Tue, 06 Feb 2007)
New Revision: 21197
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21197
Log:
const changes
Modified:
branches/SAMBA_3_0_25/source/lib/privileges.c
Changeset:
Modified: branches/SAMBA_3_0_25/source/lib/privileges.c
===================================================================
--- branches/SAMBA_3_0_25/source/lib/privileges.c 2007-02-06 21:39:23 UTC (rev 21196)
+++ branches/SAMBA_3_0_25/source/lib/privileges.c 2007-02-06 21:39:45 UTC (rev 21197)
@@ -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;
@@ -742,7 +743,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