[svn-commits] mmichelson: trunk r96103 - in /trunk: ./ apps/app_queue.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Jan 2 17:48:44 CST 2008
Author: mmichelson
Date: Wed Jan 2 17:48:43 2008
New Revision: 96103
URL: http://svn.digium.com/view/asterisk?view=rev&rev=96103
Log:
Merged revisions 96102 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r96102 | mmichelson | 2008-01-02 17:46:02 -0600 (Wed, 02 Jan 2008) | 4 lines
We need to reset the membername to NULL on each iteration of this loop, otherwise the result is that
multiple members can have the same name, since the variable was not reset on each iteration of the loop.
........
Modified:
trunk/ (props changed)
trunk/apps/app_queue.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?view=diff&rev=96103&r1=96102&r2=96103
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Wed Jan 2 17:48:43 2008
@@ -4900,6 +4900,7 @@
for (var = ast_variable_browse(cfg, cat); var; var = var->next) {
if (!strcasecmp(var->name, "member")) {
struct member tmpmem;
+ membername = NULL;
/* Add a new member */
ast_copy_string(parse, var->value, sizeof(parse));
More information about the svn-commits
mailing list