* check for WC in conditionals...
[citadel.git] / webcit / messages.c
index a3bca061a13ec2d54410d6b39015cfcdb7a03425..eb3f945709baba14f40e41896effd1f9f76313a9 100644 (file)
@@ -870,9 +870,9 @@ void readloop(long oper)
                WCC->wc_view = VIEW_MAILBOX;
 
        if (!WCC->is_ajax) {
-       output_headers(1, 1, 1, 0, 0, 0);
+               output_headers(1, 1, 1, 0, 0, 0);
        } else if (WCC->wc_view == VIEW_MAILBOX) {
-         jsonMessageListHdr();
+               jsonMessageListHdr();
        }
 
        switch (WCC->wc_view) {