[asterisk-commits] russell: branch 1.4 r53037 - /branches/1.4/apps/app_queue.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jan 31 10:39:29 MST 2007


Author: russell
Date: Wed Jan 31 11:39:28 2007
New Revision: 53037

URL: http://svn.digium.com/view/asterisk?view=rev&rev=53037
Log:
Only changed the paused status in an existing queue member if the paused
column exists.

Modified:
    branches/1.4/apps/app_queue.c

Modified: branches/1.4/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_queue.c?view=diff&rev=53037&r1=53036&r2=53037
==============================================================================
--- branches/1.4/apps/app_queue.c (original)
+++ branches/1.4/apps/app_queue.c Wed Jan 31 11:39:28 2007
@@ -957,7 +957,8 @@
 		}
 	} else {
 		m->dead = 0;	/* Do not delete this one. */
-		m->paused = paused;
+		if (paused_str)
+			m->paused = paused;
 		m->penalty = penalty;
 	}
 }



More information about the asterisk-commits mailing list