Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zsolt Vadász
wine
Commits
71140944
Commit
71140944
authored
14 years ago
by
Andrew Talbot
Committed by
Alexandre Julliard
14 years ago
Browse files
Options
Downloads
Patches
Plain Diff
advapi32: Constify some variables.
parent
a17c7f0b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dlls/advapi32/cred.c
+1
-1
1 addition, 1 deletion
dlls/advapi32/cred.c
dlls/advapi32/security.c
+2
-2
2 additions, 2 deletions
dlls/advapi32/security.c
with
3 additions
and
3 deletions
dlls/advapi32/cred.c
+
1
−
1
View file @
71140944
...
...
@@ -754,7 +754,7 @@ static BOOL credential_matches_filter(HKEY hkeyCred, LPCWSTR filter)
static
DWORD
registry_enumerate_credentials
(
HKEY
hkeyMgr
,
LPCWSTR
filter
,
LPWSTR
target_name
,
DWORD
target_name_len
,
BYTE
key_data
[
KEY_SIZE
],
DWORD
target_name_len
,
const
BYTE
key_data
[
KEY_SIZE
],
PCREDENTIALW
*
credentials
,
char
**
buffer
,
DWORD
*
len
,
DWORD
*
count
)
{
...
...
This diff is collapsed.
Click to expand it.
dlls/advapi32/security.c
+
2
−
2
View file @
71140944
...
...
@@ -2735,7 +2735,7 @@ static void split_domain_account( const LSA_UNICODE_STRING *str, LSA_UNICODE_STR
}
}
static
BOOL
match_domain
(
ULONG
idx
,
LSA_UNICODE_STRING
*
domain
)
static
BOOL
match_domain
(
ULONG
idx
,
const
LSA_UNICODE_STRING
*
domain
)
{
ULONG
len
=
strlenW
(
ACCOUNT_SIDS
[
idx
].
domain
);
...
...
@@ -2745,7 +2745,7 @@ static BOOL match_domain( ULONG idx, LSA_UNICODE_STRING *domain )
return
FALSE
;
}
static
BOOL
match_account
(
ULONG
idx
,
LSA_UNICODE_STRING
*
account
)
static
BOOL
match_account
(
ULONG
idx
,
const
LSA_UNICODE_STRING
*
account
)
{
ULONG
len
=
strlenW
(
ACCOUNT_SIDS
[
idx
].
account
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment