diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2008-12-23 22:29:51 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2008-12-23 22:29:51 (GMT) |
commit | de5e1d93e44fdab49ab2d6b3bad4042219ad5236 (patch) | |
tree | 0aa77d26b2bcb26d986413080661e78e5c2ec5dc /src/H5Zszip.c | |
parent | 26a82c35750b688cb9a5c21bc27e272416027622 (diff) | |
download | hdf5-de5e1d93e44fdab49ab2d6b3bad4042219ad5236.zip hdf5-de5e1d93e44fdab49ab2d6b3bad4042219ad5236.tar.gz hdf5-de5e1d93e44fdab49ab2d6b3bad4042219ad5236.tar.bz2 |
[svn-r16219] Description:
Bring revisions 16206:16218 back from trunk
Tested on:
Mac OS X/32 10.5.6 (amazon)
Diffstat (limited to 'src/H5Zszip.c')
-rw-r--r-- | src/H5Zszip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Zszip.c b/src/H5Zszip.c index 9201a80..b40c028 100644 --- a/src/H5Zszip.c +++ b/src/H5Zszip.c @@ -333,7 +333,7 @@ H5Z_filter_szip (unsigned flags, size_t cd_nelmts, const unsigned cd_values[], *buf = outbuf; outbuf = NULL; *buf_size = nalloc; - ret_value = nalloc; + ret_value = size_out; } /* Output; compress */ else { @@ -359,7 +359,7 @@ H5Z_filter_szip (unsigned flags, size_t cd_nelmts, const unsigned cd_values[], /* Set return values */ *buf = outbuf; outbuf = NULL; - *buf_size = size_out+4; + *buf_size = nbytes+4; ret_value = size_out+4; } |