changeset 12757:e2f1f49fad1a

[gaim-migrate @ 15104] forgot this committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Sat, 07 Jan 2006 22:19:43 +0000
parents 6ef1cdc26b40
children ef1a954512bc
files src/stun.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/stun.c	Sat Jan 07 22:10:18 2006 +0000
+++ b/src/stun.c	Sat Jan 07 22:19:43 2006 +0000
@@ -224,7 +224,7 @@
 					strcpy(nattype.publicip, ip);
 			}
 
-			tmp += attrib->len;
+			tmp += ntohs(attrib->len);
 		}
 		gaim_debug_info("stun", "got public ip %s\n", nattype.publicip);
 		nattype.status = GAIM_STUN_STATUS_DISCOVERED;