summaryrefslogtreecommitdiff
path: root/xdelta3/xdelta3-blkcache.h
diff options
context:
space:
mode:
Diffstat (limited to 'xdelta3/xdelta3-blkcache.h')
-rw-r--r--xdelta3/xdelta3-blkcache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xdelta3/xdelta3-blkcache.h b/xdelta3/xdelta3-blkcache.h
index f9f3d8a..bc8e27f 100644
--- a/xdelta3/xdelta3-blkcache.h
+++ b/xdelta3/xdelta3-blkcache.h
@@ -159,6 +159,7 @@ main_set_source (xd3_stream *stream, xd3_cmd cmd,
159 source->blksize = option_srcwinsz; 159 source->blksize = option_srcwinsz;
160 160
161 lru_size = 1; 161 lru_size = 1;
162 lru[0].blkno = 0;
162 163
163 if ((ret = main_getblk_func (stream, source, 0)) != 0) 164 if ((ret = main_getblk_func (stream, source, 0)) != 0)
164 { 165 {