Mercurial > pidgin
diff src/stun.c @ 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 | a7bf698eb37c |
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;
