diff options
Diffstat (limited to 'src/rmd_cache_frame.c')
-rw-r--r-- | src/rmd_cache_frame.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rmd_cache_frame.c b/src/rmd_cache_frame.c index cae1c14..a1cb669 100644 --- a/src/rmd_cache_frame.c +++ b/src/rmd_cache_frame.c @@ -53,7 +53,8 @@ static int rmdFlushBlock( int blockwidth, gzFile fp, FILE *ucfp, - int flush) { + int flush) +{ int bytes_written = 0, block_i = (!blockwidth) ? 0 : (blockno / (width / blockwidth)),//place on the grid @@ -88,7 +89,8 @@ static int rmdFlushBlock( return bytes_written; } -void *rmdCacheImageBuffer(ProgData *pdata) { +void *rmdCacheImageBuffer(ProgData *pdata) +{ gzFile fp = NULL; FILE *ucfp = NULL; |