dect
/
asterisk
Archived
13
0
Fork 0

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:
russell 2006-02-09 01:52:09 +00:00
parent e1a8463ef0
commit 1996eb58ac
1 changed files with 1 additions and 1 deletions

View File

@ -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;