Added a new parameter to html_to_ascii() to let it know when it's rendering to a...
[citadel.git] / citadel / server / msgbase.c
index 0da39fc875e87db8a0541258210c2cf0f7e1022d..4ddd9aa4228b2b66685538ca699a3126a6f0ba0e 100644 (file)
@@ -1254,7 +1254,7 @@ void fixed_output(char *name, char *filename, char *partnum, char *disp,
        }
 
        if (!strcasecmp(cbtype, "text/html")) {
-               ptr = html_to_ascii(content, length, 80);
+               ptr = html_to_ascii(content, length, 80, 0);
                wlen = strlen(ptr);
                client_write(ptr, wlen);
                if ((wlen > 0) && (ptr[wlen-1] != '\n')) {