Ignore:
Timestamp:
02/27/06 16:41:12 (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:
d8f02df
Parents:
d5879cc
Message:

Update tests to cover newer libtrace api

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test-pcap-bpf.c

    r5b91b48 r8a8e54b  
    6161        trace = trace_create(uri);
    6262        if (!trace) {
    63                 printf("ERROR: %s\n",trace_err.problem);
     63                printf("ERROR: %s\n",trace_get_err(trace).problem);
    6464                return 1;
    6565        }
     
    6868
    6969        if (trace_start(trace)==-1) {
    70                 printf("ERROR: %s\n",trace_err.problem);
     70                printf("ERROR: %s\n",trace_get_err(trace).problem);
    7171                return 1;
    7272        }
     
    9393                }
    9494        } else {
    95                 printf("failure: %s\n",trace_err.problem);
     95                printf("failure: %s\n",trace_get_err(trace).problem);
    9696        }
    9797        trace_destroy(trace);
Note: See TracChangeset for help on using the changeset viewer.