Changeset b7922c7 for lib/ior-peek.c
- Timestamp:
- 07/01/11 10:43:19 (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:
- 8782b67
- Parents:
- 9ca0b29
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/ior-peek.c
r0f6879e rb7922c7 141 141 DATA(io)->offset = 0; 142 142 DATA(io)->length = bytes_read; 143 143 144 144 /* Error? */ 145 145 if (bytes_read < 1) … … 274 274 275 275 /* Pass errors up */ 276 if (read_amount < 1) {276 if (read_amount <0) { 277 277 return read_amount; 278 278 }
Note: See TracChangeset
for help on using the changeset viewer.