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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/xdelta3/xdelta3-blkcache.h b/xdelta3/xdelta3-blkcache.h
index a570665..cf5fb7f 100644
--- a/xdelta3/xdelta3-blkcache.h
+++ b/xdelta3/xdelta3-blkcache.h
@@ -113,10 +113,10 @@ main_set_source (xd3_stream *stream, xd3_cmd cmd,
113 else 113 else
114 { 114 {
115 /* Either a regular file (possibly compressed) or a FIFO 115 /* Either a regular file (possibly compressed) or a FIFO
116 * (possibly compressed). */ 116 * (possibly compressed). */
117 if ((ret = main_file_open (sfile, sfile->filename, XO_READ))) 117 if ((ret = main_file_open (sfile, sfile->filename, XO_READ)))
118 { 118 {
119 return ret; 119 return ret;
120 } 120 }
121 121
122 /* If the file is regular we know it's size. If the file turns 122 /* If the file is regular we know it's size. If the file turns
@@ -135,7 +135,7 @@ main_set_source (xd3_stream *stream, xd3_cmd cmd,
135 * (lru_size==1) source block. Otherwise, we know that at least 135 * (lru_size==1) source block. Otherwise, we know that at least
136 * option_srcwinsz bytes are available. Split the source window 136 * option_srcwinsz bytes are available. Split the source window
137 * into buffers. */ 137 * into buffers. */
138 if ((lru = (main_blklru*) main_malloc (MAX_LRU_SIZE * 138 if ((lru = (main_blklru*) main_malloc (MAX_LRU_SIZE *
139 sizeof (main_blklru))) == NULL) 139 sizeof (main_blklru))) == NULL)
140 { 140 {
141 ret = ENOMEM; 141 ret = ENOMEM;