[Asterisk-cvs] asterisk pbx.c,1.98,1.99
citats at lists.digium.com
citats at lists.digium.com
Sun Feb 22 21:59:15 CST 2004
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv17952
Modified Files:
pbx.c
Log Message:
Fix ast_add_extension2 updating ast_exten correctly in certain cases
where extensions.conf is not ordered numerically by priority (bug #1065)
Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -d -r1.98 -r1.99
--- pbx.c 22 Feb 2004 05:25:58 -0000 1.98
+++ pbx.c 23 Feb 2004 02:47:22 -0000 1.99
@@ -3732,9 +3732,9 @@
tmp->peer = e;
} else {
/* We're the very first extension altogether */
- tmp->next = con->root;
+ tmp->next = con->root->next;
/* Con->root must always exist or we couldn't get here */
- tmp->peer = con->root->peer;
+ tmp->peer = con->root;
con->root = tmp;
}
ast_mutex_unlock(&con->lock);
More information about the svn-commits
mailing list