Mercurial > hg > dmlib
comparison tests/dzlibtest.c @ 1978:cd5643794195
If compressing, use zlib.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 01 Jul 2018 02:48:23 +0300 |
parents | 33c29e7d1861 |
children | 161e731eb152 |
comparison
equal
deleted
inserted
replaced
1977:33c29e7d1861 | 1978:cd5643794195 |
---|---|
54 case 2: | 54 case 2: |
55 optUseZLIB = TRUE; | 55 optUseZLIB = TRUE; |
56 break; | 56 break; |
57 | 57 |
58 case 3: | 58 case 3: |
59 optUseZLIB = TRUE; | |
59 optCompress = TRUE; | 60 optCompress = TRUE; |
60 break; | 61 break; |
61 | 62 |
62 case 4: | 63 case 4: |
63 if (!dmGetIntVal(optArg, &optCompressLevel) || | 64 if (!dmGetIntVal(optArg, &optCompressLevel) || |
227 goto out; | 228 goto out; |
228 } | 229 } |
229 } | 230 } |
230 } | 231 } |
231 | 232 |
232 | |
233 switch (zret) | 233 switch (zret) |
234 { | 234 { |
235 case Z_OK: | 235 case Z_OK: |
236 break; | 236 break; |
237 | 237 |