aboutsummaryrefslogtreecommitdiff
path: root/src/png.c
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2011-04-04 17:56:15 +0000
committercorvid <corvid@lavabit.com>2011-04-04 17:56:15 +0000
commit9572807453da1e92657df7b88eb8a5e0f578d21c (patch)
tree626f378dd4594fcd6b2d7b4dac4274051417a6e5 /src/png.c
parentda2887c4a786ffdb97ce89fa257ef9818b53285c (diff)
clearer MSG for suspicious image size
I saw a MSG with size 0x[something], and of course I thought it was complaining that a size was given in hex notation.
Diffstat (limited to 'src/png.c')
-rw-r--r--src/png.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/png.c b/src/png.c
index b82046b9..bf9de2ef 100644
--- a/src/png.c
+++ b/src/png.c
@@ -137,7 +137,7 @@ Png_datainfo_callback(png_structp png_ptr, png_infop info_ptr)
/* check max image size */
if (png->width == 0 || png->height == 0 ||
png->width > IMAGE_MAX_AREA / png->height) {
- MSG("Png_datainfo_callback: suspicious image size request %lux%lu\n",
+ MSG("Png_datainfo_callback: suspicious image size request %lu x %lu\n",
(ulong_t) png->width, (ulong_t) png->height);
Png_error_handling(png_ptr, "Aborting...");
return; /* not reached */