[Asterisk-cvs] asterisk/channels chan_iax2.c,1.249,1.250
markster at lists.digium.com
markster at lists.digium.com
Sat Feb 12 14:15:32 CST 2005
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv14845/channels
Modified Files:
chan_iax2.c
Log Message:
Fix apparent logic error that causes unregistered non-realtime peers to be destroyed (bug #3569)
Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.249
retrieving revision 1.250
diff -u -d -r1.249 -r1.250
--- chan_iax2.c 12 Feb 2005 18:52:14 -0000 1.249
+++ chan_iax2.c 12 Feb 2005 20:15:15 -0000 1.250
@@ -4994,7 +4994,7 @@
if (iax2_regfunk)
iax2_regfunk(p->name, 0);
- if (!ast_test_flag(p, IAX_RTAUTOCLEAR)) {
+ if (ast_test_flag(p, IAX_RTAUTOCLEAR)) {
ast_set_flag(p, IAX_DELME);
prune_peers();
}
More information about the svn-commits
mailing list