* evade double calls to output_headers
[citadel.git] / webcit / downloads.c
index 82079a39d23a963c9de1bce52e2c8714f5566ff2..2de8a4d130a7a51ed86a1708c60439df8218ff2a 100644 (file)
@@ -258,7 +258,6 @@ void download_file(void)
                if (!force_download) {
                        StrBufExtract_token(ContentType, Buf, 3, '|');
                }
-               output_headers(0, 0, 0, 0, 0, 0);
                read_server_binary(WCC->WBuf, bytes, Buf);
                serv_puts("CLOS");
                StrBuf_ServGetlnBuffered(Buf);