diff options
-rw-r--r-- | cqrlogo.c | 2 | ||||
-rw-r--r-- | lib/libcqrlogo.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -101,7 +101,7 @@ int main(int argc, char **argv) { } /* print HTTP header */ - fputs(cqr_mimeheader, stdout); + fputs(CQR_MIMEHEADER, stdout); /* write PNG data to stdout */ if (fwrite(png->buffer, png->size, 1, stdout) != 1) { diff --git a/lib/libcqrlogo.h b/lib/libcqrlogo.h index c5322a2..59ee885 100644 --- a/lib/libcqrlogo.h +++ b/lib/libcqrlogo.h @@ -40,7 +40,7 @@ struct cqr_conf { bool overwrite; }; -const char * cqr_mimeheader = "Content-Type: image/png\n\n"; +#define CQR_MIMEHEADER "Content-Type: image/png\n\n" #define CQR_META_COMMENT 0x1 #define CQR_META_REFERER 0x2 |