[asterisk-commits] murf: trunk r89330 - /trunk/main/pbx.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Nov 16 13:26:54 CST 2007
Author: murf
Date: Fri Nov 16 13:26:54 2007
New Revision: 89330
URL: http://svn.digium.com/view/asterisk?view=rev&rev=89330
Log:
This corrects a hashtab removal, given a bad argument
Modified:
trunk/main/pbx.c
Modified: trunk/main/pbx.c
URL: http://svn.digium.com/view/asterisk/trunk/main/pbx.c?view=diff&rev=89330&r1=89329&r2=89330
==============================================================================
--- trunk/main/pbx.c (original)
+++ trunk/main/pbx.c Fri Nov 16 13:26:54 2007
@@ -5569,7 +5569,7 @@
ast_hashtab_remove_object_via_lookup(tmp->peer_label_tree,e);
if (tmp->label)
ast_hashtab_insert_safe(tmp->peer_label_tree,tmp);
- ast_hashtab_remove_object_via_lookup(con->root_tree, e->exten);
+ ast_hashtab_remove_object_via_lookup(con->root_tree, e);
ast_hashtab_insert_safe(con->root_tree, tmp->exten);
el->next = tmp;
} else { /* We're the very first extension. */
@@ -5583,7 +5583,7 @@
ast_hashtab_remove_object_via_lookup(tmp->peer_label_tree,e);
if (tmp->label)
ast_hashtab_insert_safe(tmp->peer_label_tree,tmp);
- ast_hashtab_remove_object_via_lookup(con->root_tree, e->exten);
+ ast_hashtab_remove_object_via_lookup(con->root_tree, e);
ast_hashtab_insert_safe(con->root_tree, tmp->exten);
con->root = tmp;
}
More information about the asterisk-commits
mailing list