Changeset ef8358e


Ignore:
Timestamp:
11/13/06 14:41:49 (14 years ago)
Author:
Shane Alcock <salcock@…>
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:
bb75d10
Parents:
7e94aee
Message:

trace_start now checks that the trace has no current error, e.g. due to a trace_create failure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    r7ca2c7d ref8358e  
    488488{
    489489        assert(libtrace);
     490        assert(!trace_is_err(libtrace) && "Please use trace_is_err to check for errors after calling trace_create!");
    490491        if (libtrace->format->start_input) {
    491492                int ret=libtrace->format->start_input(libtrace);
Note: See TracChangeset for help on using the changeset viewer.