From ca626a8f838cb329c22b02bcb5c81538a09eea6f Mon Sep 17 00:00:00 2001 From: "josh.macdonald" Date: Sun, 25 Oct 2009 19:16:41 +0000 Subject: Test crashes in recode test w/ "allow_fake_source" support, getting close? --- xdelta3/xdelta3-decode.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'xdelta3/xdelta3-decode.h') diff --git a/xdelta3/xdelta3-decode.h b/xdelta3/xdelta3-decode.h index 6412b47..9c812e7 100644 --- a/xdelta3/xdelta3-decode.h +++ b/xdelta3/xdelta3-decode.h @@ -444,7 +444,7 @@ xd3_decode_output_halfinst (xd3_stream *stream, xd3_hinst *inst) if ((source->onblk != blksize) && (blkoff + take > source->onblk)) { - IF_DEBUG1(DP(RINT "block %"Q"u onblk %u blksize %u blkoff %u take %u\n", + IF_DEBUG2(DP(RINT "block %"Q"u onblk %u blksize %u blkoff %u take %u\n", block, source->onblk, blksize, @@ -671,7 +671,7 @@ xd3_decode_emit (xd3_stream *stream) if (stream->avail_out != stream->dec_tgtlen) { - IF_DEBUG1 (DP(RINT "AVAIL_OUT(%d) != DEC_TGTLEN(%d)\n", + IF_DEBUG2 (DP(RINT "AVAIL_OUT(%d) != DEC_TGTLEN(%d)\n", stream->avail_out, stream->dec_tgtlen)); stream->msg = "wrong window length"; return XD3_INVALID_INPUT; @@ -918,7 +918,7 @@ xd3_decode_input (xd3_stream *stream) stream->dec_state = DEC_CPYLEN; - IF_DEBUG1 (DP(RINT "--------- TARGET WINDOW %"Q"u -----------\n", + IF_DEBUG2 (DP(RINT "--------- TARGET WINDOW %"Q"u -----------\n", stream->current_window)); } @@ -1074,7 +1074,7 @@ xd3_decode_input (xd3_stream *stream) &src->cpyoff_blocks, &src->cpyoff_blkoff); - IF_DEBUG1(DP(RINT + IF_DEBUG2(DP(RINT "decode cpyoff %"Q"u " "cpyblkno %"Q"u " "cpyblkoff %u " -- cgit v1.2.3