aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--router/alc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/router/alc.c b/router/alc.c
index fd9ae81b..9f94c869 100644
--- a/router/alc.c
+++ b/router/alc.c
@@ -316,10 +316,14 @@ static ALint GetDriverIndexForName(const EnumeratedList *list, const ALCchar *na
while(devnames && *devnames)
{
if(strcmp(name, devnames) == 0)
+ {
+ TRACE("Found driver %d for name \"%s\"\n", *index, name);
return *index;
+ }
devnames += strlen(devnames)+1;
index++;
}
+ TRACE("Failed to find driver for name \"%s\"\n", name);
return -1;
}