Reference correct struct member for unlikely event PRI_EVENT_CONFIG_ERR.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 20 Jul 2010 22:38:13 +0000 (22:38 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 20 Jul 2010 22:38:13 +0000 (22:38 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278274 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/sig_pri.c

index 26e6e3e..e8b3ad1 100644 (file)
@@ -5455,7 +5455,7 @@ static void *pri_dchannel(void *vpri)
                                }
                                break;
                        case PRI_EVENT_CONFIG_ERR:
-                               ast_log(LOG_WARNING, "PRI Error on span %d: %s\n", pri->trunkgroup, e->err.err);
+                               ast_log(LOG_WARNING, "PRI Error on span %d: %s\n", pri->span, e->err.err);
                                break;
                        case PRI_EVENT_RESTART_ACK:
                                chanpos = pri_find_principle(pri, e->restartack.channel, NULL);