clarify return value (issue #6434)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9248 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
e1a8463ef0
commit
1996eb58ac
|
@ -7032,7 +7032,7 @@ static struct zt_pvt *mkintf(int channel, int signalling, int radio, struct zt_p
|
|||
if (p.sigtype != (signalling & 0x3ffff)) {
|
||||
ast_log(LOG_ERROR, "Signalling requested on channel %d is %s but line is in %s signalling\n", channel, sig2str(signalling), sig2str(p.sigtype));
|
||||
destroy_zt_pvt(&tmp);
|
||||
return tmp;
|
||||
return NULL;
|
||||
}
|
||||
tmp->law = p.curlaw;
|
||||
tmp->span = p.spanno;
|
||||
|
|
Reference in New Issue