Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ingo Voss
OpenLDAP
Commits
afa92975
Commit
afa92975
authored
Nov 27, 2002
by
Kurt Zeilenga
Browse files
snprintf portability fix (ITS#2128)
parent
e8303cbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblber/stdio.c
View file @
afa92975
...
...
@@ -55,6 +55,9 @@ int ber_pvt_vsnprintf( char *str, size_t n, const char *fmt, va_list ap )
fclose
(
f
);
signal
(
SIGPIPE
,
sig
);
if
(
res
>
0
&&
res
<
n
)
{
res
=
vsprintf
(
str
,
fmt
,
ap
);
}
return
res
;
}
#endif
...
...
Write
Preview
Supports
Markdown
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