Changeset 0c222cc for lib/trace.c


Ignore:
Timestamp:
04/21/06 17:09:25 (16 years ago)
Author:
Perry Lorier <perry@…>
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:
dd2eaee
Parents:
e9ee974
Message:

Catch common bug and report it to the user

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    r222d8f5 r0c222cc  
    258258        const char *uridata = 0;                 
    259259        struct libtrace_format_t *tmp;
     260
     261        assert(uri && "Passing NULL to trace_create makes me a very sad program");
    260262       
    261263        libtrace->err.err_num = TRACE_ERR_NOERROR;
Note: See TracChangeset for help on using the changeset viewer.