# HG changeset patch # User Daniel Atallah # Date 1136672383 0 # Node ID e2f1f49fad1a4ce73238720c3dd010d276f98dde # Parent 6ef1cdc26b408e39a0c6948f3c06ee33efa291ea [gaim-migrate @ 15104] forgot this committer: Tailor Script diff -r 6ef1cdc26b40 -r e2f1f49fad1a src/stun.c --- 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;