diff options
author | josh.macdonald <jmacd@users.noreply.github.com> | 2008-07-03 12:59:37 +0000 |
---|---|---|
committer | josh.macdonald <jmacd@users.noreply.github.com> | 2008-07-03 12:59:37 +0000 |
commit | d4f98ead39af5d47905166bfc2a6e1e94540bc23 (patch) | |
tree | c43d47174288727d56be8a2c0335e8b729daabe1 /xdelta3/xdelta3.h | |
parent | 647321d6bb4c41593228c8c7a5c29e92e839885c (diff) |
Test for encode/decode w/ single first-byte difference. Uncovered a couple of
incorrect assertions in xdelta3 proper. More tests coming...
Diffstat (limited to 'xdelta3/xdelta3.h')
-rw-r--r-- | xdelta3/xdelta3.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xdelta3/xdelta3.h b/xdelta3/xdelta3.h index f5b75d1..fa5b332 100644 --- a/xdelta3/xdelta3.h +++ b/xdelta3/xdelta3.h | |||
@@ -1207,7 +1207,7 @@ void xd3_avail_input (xd3_stream *stream, | |||
1207 | * xd3_avail_input it will return XD3_INPUT right away without | 1207 | * xd3_avail_input it will return XD3_INPUT right away without |
1208 | * allocating a stream->winsize buffer. This is to avoid an | 1208 | * allocating a stream->winsize buffer. This is to avoid an |
1209 | * unwanted allocation. */ | 1209 | * unwanted allocation. */ |
1210 | XD3_ASSERT (idata != NULL); | 1210 | XD3_ASSERT (idata != NULL || isize == 0); |
1211 | 1211 | ||
1212 | stream->next_in = idata; | 1212 | stream->next_in = idata; |
1213 | stream->avail_in = isize; | 1213 | stream->avail_in = isize; |