- Timestamp:
- 10/12/04 17:45:25 (17 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:
- d7d0d3a
- Parents:
- 4eb5172
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/erfsplit/erfsplit.c
r4e92740 r5dfa670 61 61 62 62 63 static char buffer[SCANSIZE];64 63 static char *inputuri = 0; 65 64 static char *outputfilename = 0; … … 107 106 // set up input files 108 107 if ((trace = trace_create(inputuri)) == 0) { 109 printf("trace_create(%s) failed. Bad/nonexistant URI?\n",inputuri);108 fprintf(stderr,"trace_create(%s) failed. Bad/nonexistant URI?\n",inputuri); 110 109 exit(0); 111 110 } … … 141 140 if (stv == 0 || ts > stv) { 142 141 if (ftv == 0 || ts <= ftv) { 143 fwrite( buffer,psize,1,outfile);142 fwrite(packet.buffer,psize,1,outfile); 144 143 } 145 144 }
Note: See TracChangeset
for help on using the changeset viewer.