Reference correct struct member for unlikely event PRI_EVENT_CONFIG_ERR.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Richard Mudgett 2010-07-20 22:38:13 +00:00
parent ef95349d1c
commit 7066a7f233

View file

@ -5455,7 +5455,7 @@ static void *pri_dchannel(void *vpri)
} }
break; break;
case PRI_EVENT_CONFIG_ERR: 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; break;
case PRI_EVENT_RESTART_ACK: case PRI_EVENT_RESTART_ACK:
chanpos = pri_find_principle(pri, e->restartack.channel, NULL); chanpos = pri_find_principle(pri, e->restartack.channel, NULL);