Changeset b333d68 for lib


Ignore:
Timestamp:
04/25/06 21:53:01 (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:
c3e5f30
Parents:
e4ebf84
Message:

Report buggy trace_set_err's for future

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_helper.c

    rb874684 rb333d68  
    235235        va_list va;
    236236        va_start(va,msg);
     237        assert(errcode != 0 && "An error occurred, but it is unknown what it is");
    237238        trace->err.err_num=errcode;
    238239        if (errcode>0) {
     
    257258        va_list va;
    258259        va_start(va,msg);
     260        assert(errcode != 0 && "An error occurred, but it is unknown what it is");
    259261        trace->err.err_num=errcode;
    260262        if (errcode>0) {
Note: See TracChangeset for help on using the changeset viewer.