Changeset 8a8e54b for test/test-pcap-to-erf.c
- Timestamp:
- 02/27/06 16:41:12 (16 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/test-pcap-to-erf.c
r82dc7d8 r8a8e54b 62 62 trace = trace_create(uri); 63 63 if (!trace) { 64 printf("Error: %s\n",trace_ err.problem);64 printf("Error: %s\n",trace_get_err(trace).problem); 65 65 return 1; 66 66 } 67 67 outtrace = trace_create_output("erf:traces/100_packets.out.erf"); 68 68 if (!outtrace) { 69 printf("Error: %s\n",trace_ err.problem);69 printf("Error: %s\n",trace_get_err_output(outtrace).problem); 70 70 return 1; 71 71 } … … 99 99 } 100 100 } else { 101 printf("failure: %s\n",trace_ err.problem);101 printf("failure: %s\n",trace_get_err(trace).problem); 102 102 } 103 103 trace_destroy(trace);
Note: See TracChangeset
for help on using the changeset viewer.