Changeset 8a8e54b for test/test-pcap.c


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.c

    r5b91b48 r8a8e54b  
    6060        trace = trace_create(uri);
    6161        if (!trace) {
    62                 printf("ERROR: %s\n",trace_err.problem);
     62                printf("ERROR: %s\n",trace_get_err(trace).problem);
    6363                return 1;
    6464        }
    6565
    6666        if (trace_start(trace)==-1) {
    67                 printf("ERROR: %s\n",trace_err.problem);
     67                printf("ERROR: %s\n",trace_get_err(trace).problem);
    6868                return 1;
    6969        }
     
    9090                }
    9191        } else {
    92                 printf("failure: %s\n",trace_err.problem);
     92                printf("failure: %s\n",trace_get_err(trace).problem);
    9393        }
    9494        trace_destroy(trace);
Note: See TracChangeset for help on using the changeset viewer.