Changes in / [4edb310:2d4e055]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace_parallel.c

    r47c4490 rceba2b2  
    10121012                        /* Check if we are newer than the previous 'first' packet */
    10131013                        size_t first = libtrace->first_packets.first;
    1014                         if (trace_get_seconds(dup) <
    1015                                 trace_get_seconds(libtrace->first_packets.packets[first].packet))
     1014                        struct timeval cur_ts = trace_get_timeval(dup);
     1015                        struct timeval first_ts = trace_get_timeval(libtrace->first_packets.packets[first].packet);
     1016                        if (timercmp(&cur_ts, &first_ts, <))
    10161017                                libtrace->first_packets.first = t->perpkt_num;
    10171018                }
Note: See TracChangeset for help on using the changeset viewer.