mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
clarify return value (issue #6434)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9248 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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
Block a user