]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Change a debug message to an actual debug message
authorRussell Bryant <russell@russellbryant.com>
Mon, 2 Jun 2008 01:06:09 +0000 (01:06 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 2 Jun 2008 01:06:09 +0000 (01:06 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@119533 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index a9ce7915f93e2c28295b919834724d0e90b5ce52..6cdc3b888cd72d610f14a0d2c94caa0c35fc117f 100644 (file)
@@ -1290,7 +1290,8 @@ retry:
 
        if (owner) {
                if (ast_mutex_trylock(&owner->lock)) {
-                       ast_log(LOG_NOTICE, "Avoiding IAX destroy deadlock\n");
+                       if (option_debug > 2)
+                               ast_log(LOG_DEBUG, "Avoiding IAX destroy deadlock\n");
                        DEADLOCK_AVOIDANCE(&iaxsl[callno]);
                        goto retry;
                }