Fix switch/case syntax glitch (bug 12198)

Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
Signed-off-by: Jan Schneider <jan@horde.org>
Bug: 12198