aboutsummaryrefslogtreecommitdiffstats
path: root/cqrlogo.c
diff options
context:
space:
mode:
Diffstat (limited to 'cqrlogo.c')
-rw-r--r--cqrlogo.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cqrlogo.c b/cqrlogo.c
index 9ba947d..80b57e0 100644
--- a/cqrlogo.c
+++ b/cqrlogo.c
@@ -102,7 +102,10 @@ int main(int argc, char **argv) {
}
/* print HTTP header */
- fputs(CQR_MIMEHEADER, stdout);
+ fputs(CQR_HEADER_CONTENT_TYPE, stdout);
+ fputs(CQR_HEADER_CONTENT_DISPOSITION, stdout);
+ fputs(CQR_HEADER_PRAGMA, stdout);
+ fputc('\n', stdout);
/* write PNG data to stdout */
if (fwrite(png->buffer, png->size, 1, stdout) != 1) {