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
Nadezhda Ivanova
OpenLDAP
Commits
f0b25d7b
Commit
f0b25d7b
authored
Jul 26, 2002
by
Howard Chu
Browse files
Conditionalize use of vsyslog
parent
ee705326
Changes
1
Show whitespace changes
Inline
Side-by-side
libraries/liblber/debug.c
View file @
f0b25d7b
...
@@ -164,7 +164,12 @@ void lutil_log_int(
...
@@ -164,7 +164,12 @@ void lutil_log_int(
#ifdef LDAP_SYSLOG
#ifdef LDAP_SYSLOG
/* we're configured to use syslog */
/* we're configured to use syslog */
if
(
use_syslog
)
{
if
(
use_syslog
)
{
#ifdef HAVE_VSYSLOG
vsyslog
(
debug2syslog
(
level
),
fmt
,
vl
);
vsyslog
(
debug2syslog
(
level
),
fmt
,
vl
);
#else
vsnprintf
(
data
,
sizeof
(
data
),
fmt
,
vl
);
syslog
(
debug2syslog
(
level
),
data
);
#endif
return
;
return
;
}
}
#endif
#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