# HG changeset patch # User Nathan Walp # Date 1047150470 0 # Node ID 5b372a95b9a83272666057a32a0401d61a0dedaf # Parent 9ce3c698ff5eccc91791c47b319d477c5ca042d1 [gaim-migrate @ 4990] thanks for pointing that out Paco-Paco committer: Tailor Script diff -r 9ce3c698ff5e -r 5b372a95b9a8 src/proxy.c --- a/src/proxy.c Sat Mar 08 17:54:36 2003 +0000 +++ b/src/proxy.c Sat Mar 08 19:07:50 2003 +0000 @@ -477,13 +477,13 @@ continue; } write(child_out[1], &zero, sizeof(zero)); + tmp = res; while(res) { write(child_out[1], &(res->ai_addrlen), sizeof(res->ai_addrlen)); write(child_out[1], res->ai_addr, res->ai_addrlen); - tmp = res; res = res->ai_next; - freeaddrinfo(tmp); } + freeaddrinfo(tmp); write(child_out[1], &zero, sizeof(zero)); #else if (!inet_aton(hostname, &sin.sin_addr)) {