diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | cqrlogo.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -89,7 +89,7 @@ your custom needs. This is minimal sample source code: } /* print HTTP header */ - printf(cqr_mimeheader); + fputs(cqr_mimeheader, stdout); /* write PNG data to stdout */ if (fwrite(png->buffer, png->size, 1, stdout) != 1) { @@ -101,7 +101,7 @@ int main(int argc, char **argv) { } /* print HTTP header */ - printf(cqr_mimeheader); + fputs(cqr_mimeheader, stdout); /* write PNG data to stdout */ if (fwrite(png->buffer, png->size, 1, stdout) != 1) { |