* Fixed wrong localhost. This fixes bug #3990.

* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30964 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2009-06-05 07:37:24 +00:00
parent a63261ea5a
commit d5f3f51106
+1 -1
View File
@@ -350,7 +350,7 @@ ho_next(struct irs_ho *this) {
pvt->host.h_addrtype = AF_INET; pvt->host.h_addrtype = AF_INET;
pvt->host.h_aliases = pvt->host_aliases; pvt->host.h_aliases = pvt->host_aliases;
pvt->host.h_name = pvt->hostbuf; pvt->host.h_name = pvt->hostbuf;
((struct in_addr *)pvt->host_addr)->s_addr = INADDR_LOOPBACK; ((struct in_addr *)pvt->host_addr)->s_addr = htonl(INADDR_LOOPBACK);
pvt->index++; pvt->index++;
RES_SET_H_ERRNO(pvt->res, NETDB_SUCCESS); RES_SET_H_ERRNO(pvt->res, NETDB_SUCCESS);