Commit 3a714da6 authored by npzacs's avatar npzacs
Browse files

Changed names of log control environment variables. libbluray can't use same log file.

BD_DEBUG_FILE -> AACS_DEBUG_FILE
BD_DEBUG_MASK -> AACS_DEBUG_MASK
parent da3c5b4e
......@@ -47,11 +47,11 @@ void aacs_debug(const char *file, int line, uint32_t mask, const char *format, .
logfile = stderr;
char *env = NULL;
if ((env = getenv("BD_DEBUG_MASK")))
if ((env = getenv("AACS_DEBUG_MASK")))
debug_mask = strtol(env, NULL, 0);
// Send DEBUG to file?
if ((env = getenv("BD_DEBUG_FILE"))) {
if ((env = getenv("AACS_DEBUG_FILE"))) {
FILE *fp = fopen(env, "wb");
if (fp) {
logfile = fp;
......
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