From 9328a8efbb9475c87b2cd7dec522b7bb3499da4b Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 8 Apr 2019 08:15:28 +0200 Subject: [PATCH] fix --- client/fpga_compress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/fpga_compress.c b/client/fpga_compress.c index cba92a99e..4b0350c06 100644 --- a/client/fpga_compress.c +++ b/client/fpga_compress.c @@ -206,7 +206,7 @@ int zlib_decompress(FILE *infile, FILE *outfile) { compressed_fpga_stream.opaque = Z_NULL; ret = inflateInit2(&compressed_fpga_stream, 0); - if ( res < 0 ) + if ( ret < 0 ) return (EXIT_FAILURE); do {