dect
/
asterisk
Archived
13
0
Fork 0

Be sure prev struct is built properly (bug #2581)

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3926 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2004-10-06 23:45:26 +00:00
parent 7770c5546a
commit 9fefae58c5
1 changed files with 1 additions and 0 deletions

View File

@ -6556,6 +6556,7 @@ static struct zt_pvt *mkintf(int channel, int signalling, int radio, struct zt_p
if (working->channel > tmp->channel) {
tmp->next = *wlist;
tmp->prev = NULL;
(*wlist)->prev = tmp;
*wlist = tmp;
} else {
/* go through all the members and put the member in the right place */