summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/png.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/png.c b/src/png.c
index d6a97f56..0354485e 100644
--- a/src/png.c
+++ b/src/png.c
@@ -362,6 +362,7 @@ static void Png_callback(int Op, CacheClient_t *Client)
/* check the image signature - DON'T update ipbufstart! */
if (!png_check_sig(png->ipbuf, DATASIZE)) {
/* you lied to me about it being a PNG image */
+ MSG_WARN("\"%s\" is not a PNG file.\n", URL_STR(png->url));
png->state = IS_finished;
break;
}