* 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:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user