Diff of /trunk/mkinitrd-magellan/busybox/archival/bz/bzlib.c
Parent Directory | Revision Log | Patch
revision 1122 by niro, Fri Apr 24 18:33:46 2009 UTC | revision 1123 by niro, Wed Aug 18 21:56:57 2010 UTC | |
---|---|---|
# | Line 393 int BZ2_bzBuffToBuffCompress(char* dest, | Line 393 int BZ2_bzBuffToBuffCompress(char* dest, |
393 | bz_stream strm; | bz_stream strm; |
394 | int ret; | int ret; |
395 | ||
396 | if (dest == NULL || destLen == NULL || | if (dest == NULL || destLen == NULL |
397 | source == NULL || | || source == NULL |
398 | blockSize100k < 1 || blockSize100k > 9) | || blockSize100k < 1 || blockSize100k > 9 |
399 | ) { | |
400 | return BZ_PARAM_ERROR; | return BZ_PARAM_ERROR; |
401 | } | |
402 | ||
403 | BZ2_bzCompressInit(&strm, blockSize100k); | BZ2_bzCompressInit(&strm, blockSize100k); |
404 |
|