Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
96b6d335
Commit
96b6d335
authored
Aug 11, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Aug 11, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wldap32: Write-strings warnings fix.
parent
c62f428d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
ber.c
dlls/wldap32/ber.c
+2
-1
init.c
dlls/wldap32/init.c
+2
-2
No files found.
dlls/wldap32/ber.c
View file @
96b6d335
...
...
@@ -373,7 +373,8 @@ INT CDECL WLDAP32_ber_printf( BerElement *berelement, PCHAR fmt, ... )
{
char
*
str
=
va_arg
(
list
,
char
*
);
int
len
=
va_arg
(
list
,
int
);
ret
=
ber_printf
(
berelement
,
"B"
/* 'X' is deprecated */
,
str
,
len
);
new_fmt
[
0
]
=
'B'
;
/* 'X' is deprecated */
ret
=
ber_printf
(
berelement
,
new_fmt
,
str
,
len
);
break
;
}
case
'n'
:
...
...
dlls/wldap32/init.c
View file @
96b6d335
...
...
@@ -132,7 +132,7 @@ static int has_ldap_scheme( char *url )
* Prepend a given scheme and append a given portnumber to each hostname
* if necessary.
*/
static
char
*
join_hostnames
(
char
*
scheme
,
char
**
hostnames
,
ULONG
portnumber
)
static
char
*
join_hostnames
(
c
onst
c
har
*
scheme
,
char
**
hostnames
,
ULONG
portnumber
)
{
char
*
res
,
*
p
,
*
q
,
**
v
;
unsigned
int
i
=
0
,
size
=
0
;
...
...
@@ -196,7 +196,7 @@ static char *join_hostnames( char *scheme, char **hostnames, ULONG portnumber )
return
res
;
}
static
char
*
urlify_hostnames
(
char
*
scheme
,
char
*
hostnames
,
ULONG
port
)
static
char
*
urlify_hostnames
(
c
onst
c
har
*
scheme
,
char
*
hostnames
,
ULONG
port
)
{
char
*
url
=
NULL
,
**
strarray
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment