summaryrefslogtreecommitdiff
path: root/src/jpeg.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/jpeg.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/jpeg.c')
-rw-r--r--src/jpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jpeg.c b/src/jpeg.c
index a6af3a2b..93d9df07 100644
--- a/src/jpeg.c
+++ b/src/jpeg.c
@@ -291,7 +291,7 @@ static void Jpeg_write(DilloJpeg *jpeg, void *Buf, uint_t BufSize)
if (jpeg->cinfo.image_width <= 0 || jpeg->cinfo.image_height <= 0 ||
jpeg->cinfo.image_width >
IMAGE_MAX_AREA / jpeg->cinfo.image_height) {
- MSG("Jpeg_write: suspicious image size request %ux%u\n",
+ MSG("Jpeg_write: suspicious image size request %u x %u\n",
(uint_t)jpeg->cinfo.image_width,
(uint_t)jpeg->cinfo.image_height);
jpeg->state = DILLO_JPEG_ERROR;