- Timestamp:
- 10/13/06 11:47:19 (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:
- c806cb3
- Parents:
- 2e420ff
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_rt.c
re233141 r85921e8 82 82 char *pkt_buffer; 83 83 char *buf_current; 84 int buf_filled;84 size_t buf_filled; 85 85 rt_header_t rt_hdr; 86 86 … … 260 260 /* Send a close message to the server */ 261 261 if (send(RT_INFO->input_fd, (void*)&close_msg, sizeof(rt_header_t) + 262 close_msg.length, 0) != sizeof(rt_header_t)262 close_msg.length, 0) != (int)sizeof(rt_header_t) 263 263 + close_msg.length) { 264 264 printf("Failed to send close message to server\n"); … … 362 362 RT_INFO->buf_current += len; 363 363 RT_INFO->buf_filled -= len; 364 assert(RT_INFO->buf_filled >= 0);365 364 return len; 366 365 } … … 620 619 } 621 620 622 static int rt_get_wire_length( const libtrace_packet_t *packet) {621 static int rt_get_wire_length(UNUSED const libtrace_packet_t *packet) { 623 622 return 0; 624 623 } 625 624 626 static int rt_get_framing_length( const libtrace_packet_t *packet) {625 static int rt_get_framing_length(UNUSED const libtrace_packet_t *packet) { 627 626 return 0; 628 627 }
Note: See TracChangeset
for help on using the changeset viewer.