Oops (fix typo)
authorMark Spencer <markster@digium.com>
Tue, 29 Jun 2004 12:40:15 +0000 (12:40 +0000)
committerMark Spencer <markster@digium.com>
Tue, 29 Jun 2004 12:40:15 +0000 (12:40 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3344 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channel.c

index 4447c27..9459e90 100755 (executable)
--- a/channel.c
+++ b/channel.c
@@ -461,9 +461,9 @@ retry:
                if (l) {
                        if (ast_mutex_trylock(&l->lock)) {
                                if (retries < 10)
-                                       ast_log(LOG_DEBUG, "Avoiding initial deadlock for '%s'\n", ret->name);
+                                       ast_log(LOG_DEBUG, "Avoiding initial deadlock for '%s'\n", l->name);
                                else
-                                       ast_log(LOG_WARNING, "Avoided initial deadlock for '%s', %d retries!\n", ret->name, retries);
+                                       ast_log(LOG_WARNING, "Avoided initial deadlock for '%s', %d retries!\n", l->name, retries);
                                ast_mutex_unlock(&chlock);
                                if (retries < 10) {
                                        usleep(1);