Commit 79ac3ee5 authored by npzacs's avatar npzacs
Browse files

Use BD_DEBUG_MASK when AACS_DEBUG_MASK is undefined

parent 3a714da6
......@@ -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"))) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment