diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-09-04 08:37:21 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-09-11 18:46:12 +1000 |
commit | aefe60da8c6a5e48d807fa2e64d332b67fae25b8 (patch) | |
tree | fe5ff0d5e6f8ff5c0a6bd6678f50d68c00daaf37 /source3/rpc_server | |
parent | da9bca62825f838ac57d7a56dc8b0e9b5de181c8 (diff) | |
download | samba-aefe60da8c6a5e48d807fa2e64d332b67fae25b8.tar.gz samba-aefe60da8c6a5e48d807fa2e64d332b67fae25b8.tar.bz2 samba-aefe60da8c6a5e48d807fa2e64d332b67fae25b8.zip |
s3-util_sid Tidy up global struct security_token
This no longer needs to be global, and should be const. We now also
init it with the C99 style initialisers.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_eventlog_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_eventlog_nt.c b/source3/rpc_server/srv_eventlog_nt.c index 1fc9337a56..96787a374f 100644 --- a/source3/rpc_server/srv_eventlog_nt.c +++ b/source3/rpc_server/srv_eventlog_nt.c @@ -69,7 +69,7 @@ static EVENTLOG_INFO *find_eventlog_info_by_hnd( struct pipes_struct * p, /******************************************************************** ********************************************************************/ -static bool elog_check_access( EVENTLOG_INFO *info, struct security_token *token ) +static bool elog_check_access( EVENTLOG_INFO *info, const struct security_token *token ) { char *tdbname = elog_tdbname(talloc_tos(), info->logname ); struct security_descriptor *sec_desc; |