summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-10 14:20:34 +0100
committerGünther Deschner <gd@samba.org>2011-02-10 15:29:37 +0100
commit2f6d76a95fea8aa1696c039516818d9e3bfe35d1 (patch)
treec63a661fc5d7adbb754abc1e013a44b370aa7e8d /lib
parenta38d04a7a863d628f23b2bae95ee184eecb502f0 (diff)
downloadsamba-2f6d76a95fea8aa1696c039516818d9e3bfe35d1.tar.gz
samba-2f6d76a95fea8aa1696c039516818d9e3bfe35d1.tar.bz2
samba-2f6d76a95fea8aa1696c039516818d9e3bfe35d1.zip
socket_wrapper: avoid c++ style comments.
Seen on the aix s3-waf build where it causes the build to fail. Guenther
Diffstat (limited to 'lib')
-rw-r--r--lib/socket_wrapper/socket_wrapper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/socket_wrapper/socket_wrapper.c b/lib/socket_wrapper/socket_wrapper.c
index 2985d007ec..594b807310 100644
--- a/lib/socket_wrapper/socket_wrapper.c
+++ b/lib/socket_wrapper/socket_wrapper.c
@@ -969,7 +969,7 @@ static uint8_t *swrap_packet_init(struct timeval *tval,
ip->v6.ver_prio = 0x60; /* version 4 and 5 * 32 bit words */
ip->v6.flow_label_high = 0x00;
ip->v6.flow_label_low = 0x0000;
- ip->v6.payload_length = htons(wire_len - icmp_truncate_len);//TODO
+ ip->v6.payload_length = htons(wire_len - icmp_truncate_len); /* TODO */
ip->v6.next_header = protocol;
memcpy(ip->v6.src_addr, src_in6->sin6_addr.s6_addr, 16);
memcpy(ip->v6.dest_addr, dest_in6->sin6_addr.s6_addr, 16);
@@ -1019,7 +1019,7 @@ static uint8_t *swrap_packet_init(struct timeval *tval,
ip->v6.ver_prio = 0x60; /* version 4 and 5 * 32 bit words */
ip->v6.flow_label_high = 0x00;
ip->v6.flow_label_low = 0x0000;
- ip->v6.payload_length = htons(wire_len - icmp_truncate_len);//TODO
+ ip->v6.payload_length = htons(wire_len - icmp_truncate_len); /* TODO */
ip->v6.next_header = protocol;
memcpy(ip->v6.src_addr, dest_in6->sin6_addr.s6_addr, 16);
memcpy(ip->v6.dest_addr, src_in6->sin6_addr.s6_addr, 16);