From ba8b8189a6d6f0106bead3811bf7ecf2f61fc9e2 Mon Sep 17 00:00:00 2001 From: jcid Date: Fri, 29 Feb 2008 18:51:30 +0100 Subject: + Added a MSG_WARN to non-png URLs served as png. --- src/png.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; } -- cgit v1.2.3