]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - zlib/inflate.c
Add option -d (decompress) to fpga_compress. Allows testing.
[proxmark3-svn] / zlib / inflate.c
index d2c666b0345244b70281de85eac7b0733909a66e..417b2c41bf93e434550e65efdadda4c32381f0dc 100644 (file)
@@ -847,8 +847,8 @@ int flush;
                 break;
             case 1:                             /* fixed block */
 #ifdef ZLIB_PM3_TUNED
-                               Dbprintf("FATAL error. Compressed FPGA files with fixed code blocks are not supported!");
-                               for(;;);
+                strm->msg = (char *)"fixed block coding not supported";
+                               state->mode = BAD;
 #else                          
                 fixedtables(state);
                 Tracev((stderr, "inflate:     fixed codes block%s\n",
Impressum, Datenschutz