Changeset a31b4c7


Ignore:
Timestamp:
11/03/06 11:35:50 (14 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:
a575f4b
Parents:
7ca2c7d
Message:

use optind not a hard coded 2!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracemerge/tracemerge.c

    r66caf4b ra31b4c7  
    9797                uint64_t oldest_ts=0;
    9898                int oldest=-1;
    99                 for(i=0;i<argc-2;++i) {
     99                for(i=0;i<argc-optind;++i) {
    100100                        if (!live[i] && input[i]) {
    101101                                int ret=trace_read_packet(input[i],packet[i]);
Note: See TracChangeset for help on using the changeset viewer.