* Small change to above
[citadel.git] / webcit / messages.c
index 8e7c1237f66107050948d1ad1a044d8facdb15ec..8d9bf78c9151e0b738e0d8774ac7d21c36f4f536 100644 (file)
@@ -268,7 +268,7 @@ void output_chosen_part(long msgnum, char *multipart_chosen) {
        if (!strcasecmp(content_type, "text/plain")) {
                output_text_plain(partbuf, total_length);
        }
-       if (!strcasecmp(content_type, "text/html")) {
+       else if (!strcasecmp(content_type, "text/html")) {
                output_text_html(partbuf, total_length);
        }
        else {