Changeset d3b2234 for lib/format_wag.c


Ignore:
Timestamp:
02/23/06 15:22:40 (16 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:
9836f12
Parents:
b7d2de5
Message:

depacket->sizeification

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_wag.c

    r52f8fc2 rd3b2234  
    297297
    298298       
    299         packet->size = numbytes;
    300299        packet->header = packet->buffer;
    301300        packet->payload=(char*)packet->buffer+trace_get_framing_length(packet);
     
    342341        }
    343342
    344         packet->size = framesize;
    345343        packet->header = packet->buffer;
    346344        packet->payload=(char*)packet->buffer+trace_get_framing_length(packet);
     
    367365        }
    368366        if ((numbytes = LIBTRACE_WRITE(OUTPUT.file, packet->payload,
    369                         packet->size - trace_get_framing_length(packet))) == -1) {
     367                                trace_get_capture_length(packet)) == -1)) {
    370368                trace_set_err(errno,"write(%s)",packet->trace->uridata);
    371369                return -1;
Note: See TracChangeset for help on using the changeset viewer.