[asterisk-commits] murf: branch 1.4 r89450 - /branches/1.4/doc/queues-with-callback-members.txt

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Nov 20 09:22:09 CST 2007


Author: murf
Date: Tue Nov 20 09:22:08 2007
New Revision: 89450

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89450
Log:
closes issue #11324; break statements missing in switch cases.

Modified:
    branches/1.4/doc/queues-with-callback-members.txt

Modified: branches/1.4/doc/queues-with-callback-members.txt
URL: http://svn.digium.com/view/asterisk/branches/1.4/doc/queues-with-callback-members.txt?view=diff&rev=89450&r1=89449&r2=89450
==============================================================================
--- branches/1.4/doc/queues-with-callback-members.txt (original)
+++ branches/1.4/doc/queues-with-callback-members.txt Tue Nov 20 09:22:08 2007
@@ -354,9 +354,11 @@
                 case I:
                         Playback(agent-loginok);
                         Hangup();
+						break;
                 case O:
                         Playback(agent-loggedoff);
                         Hangup();
+						break;
                 }
         }
 }
@@ -369,25 +371,20 @@
         switch(${MACRO_EXTEN:0:1})
         {
         case I:  // Login
-                {
                 AddQueueMember(${queuename},Local/${MACRO_EXTEN:1}@agents,${penalty});
-                }
+				break;
         case O:  // Logout
-                {
                 RemoveQueueMember(${queuename},Local/${MACRO_EXTEN:1}@agents);
-                }
+				break;
         case P:  // Pause
-                {
                 PauseQueueMember(${queuename},Local/${MACRO_EXTEN:1}@agents);
-                }
+				break;
         case U:  // Unpause
-                {
                 UnpauseQueueMember(${queuename},Local/${MACRO_EXTEN:1}@agents);
-                }
+				break;
         default: // Invalid
-                {
                 Playback(invalid);
-                }
+				break;
         }
 }
 




More information about the asterisk-commits mailing list