Changeset 873


Ignore:
Timestamp:
06/14/06 11:01:38 (7 years ago)
Author:
spa1
Message:

tracemerge now uses trace_perror_output when an output trace errors
Fixed warning due to duck_get_linktype returning an int rather than libtrace_linktype_t

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/format_duck.c

    r827 r873  
    248248} 
    249249 
    250 static int duck_get_link_type(const libtrace_packet_t *packet) { 
     250static libtrace_linktype_t duck_get_link_type(const libtrace_packet_t *packet) { 
    251251        return TRACE_TYPE_DUCK; 
    252252} 
  • trunk/tools/tracemerge/tracemerge.c

    r849 r873  
    127127 
    128128                if (trace_write_packet(output,packet[oldest]) < 0) { 
    129                         trace_perror(output, "trace_write_packet"); 
     129                        trace_perror_output(output, "trace_write_packet"); 
    130130                        break; 
    131131                } 
Note: See TracChangeset for help on using the changeset viewer.