Changeset 7af689a


Ignore:
Timestamp:
04/27/06 10:23:45 (15 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:
c4a4d3d
Parents:
a5b3296
Message:

Remove useless variables that cause format_pcap to fail to compile under windows. ("interface" is now a keyword, wtf?!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_pcap.c

    r747c501 r7af689a  
    6767#define OUTPUT DATAOUT(libtrace)->output
    6868struct pcap_format_data_t {
    69         union {
    70                 char *path;             /**< information for local sockets */
    71                 char *interface;        /**< intormation for reading of network
    72                                              interfaces */
    73         } conn_info;
    7469        /** Information about the current state of the input device */
    7570        union {
     
    8277
    8378struct pcap_format_data_out_t {
    84         union {
    85                 char *path;
    86                 char *interface;
    87         } conn_info;
    8879        union {
    8980                struct {
     
    358349                        packet->payload,
    359350                        trace_get_capture_length(packet));
    360         if (err!=trace_get_capture_length(packet))
     351        if (err!=(int)trace_get_capture_length(packet))
    361352                err=-1;
    362353#else
Note: See TracChangeset for help on using the changeset viewer.