[Asterisk-cvs] asterisk channel.c,1.165,1.166
markster at lists.digium.com
markster at lists.digium.com
Sat Jan 15 00:34:05 CST 2005
- Previous message: [Asterisk-cvs] asterisk/apps app_rpt.c,1.25,1.26
- Next message: [Asterisk-cvs] zaptel pciradio.c, 1.7, 1.8 tor2.c, 1.22,
1.23 torisa.c, 1.10, 1.11 wcfxo.c, 1.28, 1.29 wct1xxp.c, 1.21,
1.22 wct4xxp.c, 1.54, 1.55 wctdm.c, 1.100, 1.101 wcte11xp.c,
1.7, 1.8 zaptel.c, 1.101, 1.102 ztdummy.c, 1.6,
1.7 ztdynamic.c, 1.9, 1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv32384
Modified Files:
channel.c
Log Message:
Handle masq properly when clone channel has no vars (bug 3344)
Index: channel.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channel.c,v
retrieving revision 1.165
retrieving revision 1.166
diff -u -d -r1.165 -r1.166
--- channel.c 13 Jan 2005 03:31:58 -0000 1.165
+++ channel.c 15 Jan 2005 06:37:51 -0000 1.166
@@ -2317,7 +2317,8 @@
/* Append variables from clone channel into original channel */
/* XXX Is this always correct? We have to in order to keep MACROS working XXX */
- AST_LIST_INSERT_TAIL(&original->varshead, AST_LIST_FIRST(&clone->varshead), entries);
+ if (AST_LIST_FIRST(&clone->varshead))
+ AST_LIST_INSERT_TAIL(&original->varshead, AST_LIST_FIRST(&clone->varshead), entries);
}
/* Assumes channel will be locked when called */
- Previous message: [Asterisk-cvs] asterisk/apps app_rpt.c,1.25,1.26
- Next message: [Asterisk-cvs] zaptel pciradio.c, 1.7, 1.8 tor2.c, 1.22,
1.23 torisa.c, 1.10, 1.11 wcfxo.c, 1.28, 1.29 wct1xxp.c, 1.21,
1.22 wct4xxp.c, 1.54, 1.55 wctdm.c, 1.100, 1.101 wcte11xp.c,
1.7, 1.8 zaptel.c, 1.101, 1.102 ztdummy.c, 1.6,
1.7 ztdynamic.c, 1.9, 1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list