Changeset 753


Ignore:
Timestamp:
04/27/06 10:23:45 (7 years ago)
Author:
perry
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
  • trunk/lib/format_pcap.c

    r746 r753  
    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.