Browse code

Added debug statement suggested by Andy Fiddaman <clam@fiddaman.net>

git-svn: trunk@1849

Nigel Horne authored on 2006/03/08 06:49:03
Showing 1 changed files
... ...
@@ -15,7 +15,7 @@
15 15
  *  along with this program; if not, write to the Free Software
16 16
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 17
  */
18
-static	char	const	rcsid[] = "$Id: pdf.c,v 1.39 2006/01/05 11:16:27 nigelhorne Exp $";
18
+static	char	const	rcsid[] = "$Id: pdf.c,v 1.40 2006/03/07 21:49:03 nigelhorne Exp $";
19 19
 
20 20
 #if HAVE_CONFIG_H
21 21
 #include "clamav-config.h"
... ...
@@ -404,6 +404,9 @@ flatedecode(const unsigned char *buf, size_t len, int fout)
404 404
 		break;
405 405
 	}
406 406
 
407
+	cli_dbgmsg("cli_pdf: flatedecode in=%lu out=%lu\n",
408
+		stream.total_in, stream.total_out);
409
+
407 410
 	if(stream.avail_out != sizeof(output))
408 411
 		cli_writen(fout, output, sizeof(output) - stream.avail_out);
409 412
 	return inflateEnd(&stream);