[asterisk-commits] kpfleming: branch 1.2 r47688 -
/branches/1.2/config.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Nov 15 12:47:43 MST 2006
Author: kpfleming
Date: Wed Nov 15 13:47:43 2006
New Revision: 47688
URL: http://svn.digium.com/view/asterisk?view=rev&rev=47688
Log:
when appending a list of variable to a category, ensure the tail pointer points to the last variable in the list
Modified:
branches/1.2/config.c
Modified: branches/1.2/config.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/config.c?view=diff&rev=47688&r1=47687&r2=47688
==============================================================================
--- branches/1.2/config.c (original)
+++ branches/1.2/config.c Wed Nov 15 13:47:43 2006
@@ -120,6 +120,8 @@
else
category->root = variable;
category->last = variable;
+ while (category->last->next)
+ category->last = category->last->next;
}
void ast_variables_destroy(struct ast_variable *v)
More information about the asterisk-commits
mailing list