[gaim-migrate @ 15104]

Sat, 07 Jan 2006 22:19:43 +0000

author
Daniel Atallah <datallah@pidgin.im>
date
Sat, 07 Jan 2006 22:19:43 +0000
changeset 12757
ef403877ac2e
parent 12756
b8df02e0c6e5
child 12758
b8b26879aa34

[gaim-migrate @ 15104]
forgot this

src/stun.c file | annotate | diff | comparison | revisions
--- 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;

mercurial