Changeset c1db742 for lib/format_wag.c
- Timestamp:
- 02/22/06 16:44:31 (16 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_wag.c
rfe76c55 rc1db742 280 280 int numbytes; 281 281 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; 284 284 packet->buffer = malloc(LIBTRACE_PACKET_BUFSIZE); 285 285 } … … 307 307 int size; 308 308 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; 311 311 packet->buffer = malloc(LIBTRACE_PACKET_BUFSIZE); 312 312 }
Note: See TracChangeset
for help on using the changeset viewer.