Changes in lib/format_helper.c [8b49230:74ecbc7]
- 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.