Changeset 996


Ignore:
Timestamp:
09/18/06 21:03:01 (7 years ago)
Author:
perry
Message:

Suppress a warning by forcing an error return (even tho this code should never
be called if this is false)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/format_pcap.c

    r952 r996  
    388388                        packet->payload, 
    389389                        trace_get_capture_length(packet)); 
     390#else 
     391    trace_set_err(packet->trace,TRACE_ERR_UNSUPPORTED,"writing is not supported on this platform"); 
     392        return -1; 
    390393#endif 
    391394#endif 
Note: See TracChangeset for help on using the changeset viewer.