[asterisk-commits] mmichelson: trunk r125591 - /trunk/apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 26 18:06:18 CDT 2008


Author: mmichelson
Date: Thu Jun 26 18:06:18 2008
New Revision: 125591

URL: http://svn.digium.com/view/asterisk?view=rev&rev=125591
Log:
Fix a really stupid mistake


Modified:
    trunk/apps/app_queue.c

Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?view=diff&rev=125591&r1=125590&r2=125591
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Thu Jun 26 18:06:18 2008
@@ -5485,7 +5485,7 @@
 			while ((mem = ao2_iterator_next(&mem_iter))) {
 				ast_str_set(&out, 0, "      %s", mem->membername);
 				if (strcasecmp(mem->membername, mem->interface)) {
-					ast_build_string(&max, &max_left, " (%s)", mem->interface);
+					ast_str_append(&out, 0, " (%s)", mem->interface);
 				}
 				if (mem->penalty)
 					ast_str_append(&out, 0, " with penalty %d", mem->penalty);




More information about the asterisk-commits mailing list