projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fac1fb1
)
Fix wrong pointer
author
Mark Spencer
<markster@digium.com>
Thu, 7 Aug 2003 19:59:04 +0000
(19:59 +0000)
committer
Mark Spencer
<markster@digium.com>
Thu, 7 Aug 2003 19:59:04 +0000
(19:59 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1274
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_zap.c
patch
|
blob
|
history
diff --git
a/channels/chan_zap.c
b/channels/chan_zap.c
index
37c9991
..
9143244
100755
(executable)
--- a/
channels/chan_zap.c
+++ b/
channels/chan_zap.c
@@
-4759,10
+4759,10
@@
static struct zt_pvt *mkintf(int channel, int signalling, int radio)
memset(tmp, 0, sizeof(struct zt_pvt));
for (x=0;x<3;x++)
tmp->subs[x].zfd = -1;
- tmp->next = tmp2;
if (!ifend) {
iflist = tmp;
tmp->prev = NULL;
+ tmp->next = NULL;
} else {
ifend->next = tmp;
tmp->prev = ifend;