diff options
author | corvid <corvid@lavabit.com> | 2011-04-04 17:56:15 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-04-04 17:56:15 +0000 |
commit | 9572807453da1e92657df7b88eb8a5e0f578d21c (patch) | |
tree | 626f378dd4594fcd6b2d7b4dac4274051417a6e5 /src/jpeg.c | |
parent | da2887c4a786ffdb97ce89fa257ef9818b53285c (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |