Changeset dad224b for lib/format_helper.c
- Timestamp:
- 03/21/14 16:29:56 (8 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:
- 29bbef0, d1af45d
- Parents:
- 1ca603b (diff), 74ecbc7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_helper.c
r8b49230 r74ecbc7 263 263 { 264 264 iow_t *io = NULL; 265 assert(level<10); 266 assert(level>=0); 265 266 if (level < 0 || level > 9) { 267 trace_set_err_out(trace, TRACE_ERR_UNSUPPORTED_COMPRESS, 268 "Compression level %d is invalid, must be between 0 and 9 inclusive", 269 level); 270 return NULL; 271 } 272 273 if (compress_type < 0 || 274 compress_type >= TRACE_OPTION_COMPRESSTYPE_LAST) { 275 trace_set_err_out(trace, TRACE_ERR_UNSUPPORTED_COMPRESS, 276 "Invalid compression type %d", compress_type); 277 return NULL; 278 } 267 279 268 280 io = wandio_wcreate(trace->uridata, compress_type, level, fileflag);
Note: See TracChangeset
for help on using the changeset viewer.