Changeset c1db742 for lib/format_wag.c


Ignore:
Timestamp:
02/22/06 16:44:31 (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:
f0d19d4
Parents:
fe76c55
Message:

rename PACKET/EXTERNAL to TRACE_CTRL_ to avoid symbol clashes on windows.
fix some c++ style comments that have snuck in somewhere along the lines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_wag.c

    rfe76c55 rc1db742  
    280280        int numbytes;
    281281       
    282         if (packet->buf_control == EXTERNAL || !packet->buffer) {
    283                 packet->buf_control = PACKET;
     282        if (packet->buf_control == TRACE_CTRL_EXTERNAL || !packet->buffer) {
     283                packet->buf_control = TRACE_CTRL_PACKET;
    284284                packet->buffer = malloc(LIBTRACE_PACKET_BUFSIZE);
    285285        }
     
    307307        int size;
    308308
    309         if (packet->buf_control == EXTERNAL || !packet->buffer) {
    310                 packet->buf_control = PACKET;
     309        if (packet->buf_control == TRACE_CTRL_EXTERNAL || !packet->buffer) {
     310                packet->buf_control = TRACE_CTRL_PACKET;
    311311                packet->buffer = malloc(LIBTRACE_PACKET_BUFSIZE);
    312312        }
Note: See TracChangeset for help on using the changeset viewer.