Ignore:
Timestamp:
02/23/06 13:14:32 (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:
8ea5b38
Parents:
aa62105
Message:

Cleanup some uses of packet->trace where the trace is already available!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_helper.c

    rfe76c55 r52f8fc2  
    5252        int data;
    5353
    54         if (packet->trace->format->get_fd) {
    55                 event.fd = packet->trace->format->get_fd(packet);
     54        if (trace->format->get_fd) {
     55                event.fd = trace->format->get_fd(packet);
    5656        } else {
    5757                event.fd = 0;
Note: See TracChangeset for help on using the changeset viewer.