]> code.citadel.org Git - citadel.git/commitdiff
* sometimes switches need break statements.
authorWilfried Göesgens <willi@citadel.org>
Mon, 1 Dec 2008 22:55:13 +0000 (22:55 +0000)
committerWilfried Göesgens <willi@citadel.org>
Mon, 1 Dec 2008 22:55:13 +0000 (22:55 +0000)
webcit/messages.c

index 38f4a4b1919ee322392c647bb619ff949d6fa9fd..0197d674513735bcd7c8f0e0b334902245a804a2 100644 (file)
@@ -1000,15 +1000,18 @@ void readloop(char *oper)
                strcpy(cmd, "MSGS ALL|||1");
                maxmsgs = 32767;
                parse_calendar_view_request(&calv);
+               break;
        case VIEW_TASKS:
                is_tasks = 1;
                strcpy(cmd, "MSGS ALL");
                maxmsgs = 32767;
+               break;
        case VIEW_NOTES:
                is_notes = 1;
                strcpy(cmd, "MSGS ALL");
                maxmsgs = 32767;
                wprintf("<div id=\"new_notes_here\"></div>\n");
+               break;
        case VIEW_ADDRESSBOOK:
                is_singlecard = ibstr("is_singlecard");
                if (maxmsgs > 1) {