Changeset 8608a0fa
- Timestamp:
- 07/27/10 17:06:13 (11 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- d025ff7
- Parents:
- d08c691
- Location:
- lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/ior-zlib.c
rd5a42c2 r8608a0fa 109 109 if (bytes_read == 0) { 110 110 /* EOF */ 111 if (DATA(io)->strm.avail_out == len) {111 if (DATA(io)->strm.avail_out == (uint32_t)len) { 112 112 DATA(io)->err = ERR_EOF; 113 113 return 0; … … 120 120 DATA(io)->err = ERR_ERROR; 121 121 /* Return how much data we managed to read ok */ 122 if (DATA(io)->strm.avail_out != len) {122 if (DATA(io)->strm.avail_out != (uint32_t)len) { 123 123 return len-DATA(io)->strm.avail_out; 124 124 } -
lib/iow-zlib.c
r22a9ccc r8608a0fa 117 117 DATA(iow)->err = ERR_ERROR; 118 118 /* Return how much data we managed to write ok */ 119 if (DATA(iow)->strm.avail_in != len) {119 if (DATA(iow)->strm.avail_in != (uint32_t)len) { 120 120 return len-DATA(iow)->strm.avail_in; 121 121 }
Note: See TracChangeset
for help on using the changeset viewer.