[asterisk-commits] qwell: trunk r43322 - /trunk/apps/app_queue.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Sep 19 23:14:06 MST 2006


Author: qwell
Date: Wed Sep 20 01:14:05 2006
New Revision: 43322

URL: http://svn.digium.com/view/asterisk?rev=43322&view=rev
Log:
We need to persist the member name also

Modified:
    trunk/apps/app_queue.c

Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?rev=43322&r1=43321&r2=43322&view=diff
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Wed Sep 20 01:14:05 2006
@@ -2712,8 +2712,8 @@
 		if (!cur_member->dynamic)
 			continue;
 
-		res = snprintf(value + value_len, sizeof(value) - value_len, "%s;%d;%d%s",
-			cur_member->interface, cur_member->penalty, cur_member->paused,
+		res = snprintf(value + value_len, sizeof(value) - value_len, "%s;%d;%d;%s%s",
+			cur_member->interface, cur_member->penalty, cur_member->paused, cur_member->membername,
 			cur_member->next ? "|" : "");
 		if (res != strlen(value + value_len)) {
 			ast_log(LOG_WARNING, "Could not create persistent member string, out of space\n");



More information about the asterisk-commits mailing list