This issue was reported here:
http://talk.maemo.org/showthread.php?t=41373&highlight=Tor&page=5#postcount693326
}
for (rp = result; rp != NULL; rp = rp->ai_next) {
- sockfd = socket (result->ai_family, result->ai_socktype,
- result->ai_protocol);
+ sockfd = socket (rp->ai_family, rp->ai_socktype,
+ rp->ai_protocol);
if (sockfd == -1)
continue;
- status = connect (sockfd, result->ai_addr, result->ai_addrlen);
+ status = connect (sockfd, rp->ai_addr, rp->ai_addrlen);
if (status != -1)
break;