Changeset 222d8f5 for lib/format_wag.c


Ignore:
Timestamp:
04/21/06 11:09:28 (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:
e9ee974
Parents:
39e141f
Message:

More bug fixes, now erf works again properly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_wag.c

    redb18ce r222d8f5  
    297297        packet->type = RT_DATA_WAG;
    298298        buffer2 = buffer = packet->buffer;
     299
    299300       
    300301        if ((numbytes = libtrace_io_read(INPUT.file, buffer, sizeof(struct frame_t))) == -1) {
    301                 trace_set_err(libtrace,errno,
     302                int err=errno;
     303                trace_set_err(libtrace,err,
    302304                                "read(%s,frame_t)",packet->trace->uridata);
     305                printf("failed to read header=%i\n",err);
    303306                return -1;
    304307        }
     
    388391}
    389392
    390 static int wag_get_framing_length(const struct libtrace_packet_t *packet) {
     393static int wag_get_framing_length(UNUSED const libtrace_packet_t *packet) {
    391394        return sizeof(struct frame_data_rx_t);
    392395}
Note: See TracChangeset for help on using the changeset viewer.