Changeset 52f8fc2 for lib/format_wag.c


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_wag.c

    rf0d19d4 r52f8fc2  
    407407}
    408408
    409 static int wag_get_fd(const struct libtrace_packet_t *packet) {
    410         return packet->trace->format_data->input.fd;
     409static int wag_get_fd(const libtrace_t *trace) {
     410        return trace->format_data->input.fd;
    411411}
    412412
Note: See TracChangeset for help on using the changeset viewer.