[svn-commits] irroot: branch irroot/asterisk-trunk-quack-queue r342983 - /team/irroot/aster...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Nov 2 01:45:17 CDT 2011


Author: irroot
Date: Wed Nov  2 01:45:13 2011
New Revision: 342983

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=342983
Log:
Silly mistake made late at night

Modified:
    team/irroot/asterisk-trunk-quack-queue/apps/app_queue.c

Modified: team/irroot/asterisk-trunk-quack-queue/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/asterisk-trunk-quack-queue/apps/app_queue.c?view=diff&rev=342983&r1=342982&r2=342983
==============================================================================
--- team/irroot/asterisk-trunk-quack-queue/apps/app_queue.c (original)
+++ team/irroot/asterisk-trunk-quack-queue/apps/app_queue.c Wed Nov  2 01:45:13 2011
@@ -5632,7 +5632,7 @@
 		mem->penalty = value;
 		if (mem->realtime) {
 			char *rtpenalty;
-			if (!asprintf(&rtpenalty,"%i", mem->penalty) &&
+			if (!asprintf(&rtpenalty,"%i", mem->penalty) ||
 			    update_realtime_member_field(mem, q->name, "penalty", rtpenalty)) {
 				ast_log(LOG_WARNING, "Failed setting penalty %d on member %s queue %s\n", mem->penalty,
 					mem->membername, q->name);




More information about the svn-commits mailing list