mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
Fix wrong pointer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4759,10 +4759,10 @@ static struct zt_pvt *mkintf(int channel, int signalling, int radio)
|
|||||||
memset(tmp, 0, sizeof(struct zt_pvt));
|
memset(tmp, 0, sizeof(struct zt_pvt));
|
||||||
for (x=0;x<3;x++)
|
for (x=0;x<3;x++)
|
||||||
tmp->subs[x].zfd = -1;
|
tmp->subs[x].zfd = -1;
|
||||||
tmp->next = tmp2;
|
|
||||||
if (!ifend) {
|
if (!ifend) {
|
||||||
iflist = tmp;
|
iflist = tmp;
|
||||||
tmp->prev = NULL;
|
tmp->prev = NULL;
|
||||||
|
tmp->next = NULL;
|
||||||
} else {
|
} else {
|
||||||
ifend->next = tmp;
|
ifend->next = tmp;
|
||||||
tmp->prev = ifend;
|
tmp->prev = ifend;
|
||||||
|
Reference in New Issue
Block a user