[Asterisk-cvs] asterisk pbx.c,1.96.2.1,1.96.2.2
citats at lists.digium.com
citats at lists.digium.com
Sun Feb 22 22:00:13 CST 2004
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv17994
Modified Files:
Tag: v1-0_stable
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.96.2.1
retrieving revision 1.96.2.2
diff -u -d -r1.96.2.1 -r1.96.2.2
--- pbx.c 11 Feb 2004 03:54:20 -0000 1.96.2.1
+++ pbx.c 23 Feb 2004 02:48:20 -0000 1.96.2.2
@@ -3729,9 +3729,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