[asterisk-commits] murf: trunk r89451 - in /trunk: ./ doc/tex/queues-with-callback-members.tex
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Nov 20 09:30:48 CST 2007
Author: murf
Date: Tue Nov 20 09:30:48 2007
New Revision: 89451
URL: http://svn.digium.com/view/asterisk?view=rev&rev=89451
Log:
Merged revisions 89450 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89450 | murf | 2007-11-20 08:22:08 -0700 (Tue, 20 Nov 2007) | 1 line
closes issue #11324; break statements missing in switch cases.
........
Modified:
trunk/ (props changed)
trunk/doc/tex/queues-with-callback-members.tex
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/doc/tex/queues-with-callback-members.tex
URL: http://svn.digium.com/view/asterisk/trunk/doc/tex/queues-with-callback-members.tex?view=diff&rev=89451&r1=89450&r2=89451
==============================================================================
--- trunk/doc/tex/queues-with-callback-members.tex (original)
+++ trunk/doc/tex/queues-with-callback-members.tex Tue Nov 20 09:30:48 2007
@@ -370,9 +370,11 @@
case I:
Playback(agent-loginok);
Hangup();
+ break;
case O:
Playback(agent-loggedoff);
Hangup();
+ break;
}
}
}
@@ -388,29 +390,20 @@
switch(${exten:0:1})
{
case I: // Login
- {
AddQueueMember(${queuename},Local/${exten:1}@agents,${penalty});
break;
- }
case O: // Logout
- {
RemoveQueueMember(${queuename},Local/${exten:1}@agents);
break;
- }
case P: // Pause
- {
PauseQueueMember(${queuename},Local/${exten:1}@agents);
break;
- }
case U: // Unpause
- {
UnpauseQueueMember(${queuename},Local/${exten:1}@agents);
break;
- }
default: // Invalid
- {
Playback(invalid);
- }
+ break;
}
}
\end{verbatim}
More information about the asterisk-commits
mailing list