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
Joshua Root
libaacs
Commits
79ac3ee5
Commit
79ac3ee5
authored
Apr 17, 2011
by
npzacs
Browse files
Use BD_DEBUG_MASK when AACS_DEBUG_MASK is undefined
parent
3a714da6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/util/logging.c
View file @
79ac3ee5
...
...
@@ -49,6 +49,8 @@ void aacs_debug(const char *file, int line, uint32_t mask, const char *format, .
char
*
env
=
NULL
;
if
((
env
=
getenv
(
"AACS_DEBUG_MASK"
)))
debug_mask
=
strtol
(
env
,
NULL
,
0
);
else
if
((
env
=
getenv
(
"BD_DEBUG_MASK"
)))
debug_mask
=
strtol
(
env
,
NULL
,
0
);
// Send DEBUG to file?
if
((
env
=
getenv
(
"AACS_DEBUG_FILE"
)))
{
...
...
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