diff libpurple/nat-pmp.c @ 16345:6b4e778ee4b4

Death to // comments.
author Richard Laager <rlaager@wiktel.com>
date Mon, 23 Apr 2007 17:19:11 +0000
parents 328ae2c041c3
children 533ebd404184
line wrap: on
line diff
--- a/libpurple/nat-pmp.c	Mon Apr 23 17:10:08 2007 +0000
+++ b/libpurple/nat-pmp.c	Mon Apr 23 17:19:11 2007 +0000
@@ -64,7 +64,7 @@
 
 typedef struct {
 	uint8_t		version;
-	uint8_t		opcode; // 128 + n
+	uint8_t		opcode; /* 128 + n */
 	uint16_t	resultcode;
 	uint32_t	epoch;
 	uint32_t	address;
@@ -417,7 +417,7 @@
 	bzero(&req, sizeof(PurplePmpMapRequest));
 	req.version = 0;
 	req.opcode	= ((type == PURPLE_PMP_TYPE_UDP) ? PMP_MAP_OPCODE_UDP : PMP_MAP_OPCODE_TCP);	
-	req.privateport = htons(privateport); //	What a difference byte ordering makes...d'oh!
+	req.privateport = htons(privateport); /* What a difference byte ordering makes...d'oh! */
 	req.publicport = htons(publicport);
 	req.lifetime = htonl(lifetime);