httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit GARNIER <bu...@wanadoo.fr>
Subject [ERROR] in apache-2.0/src/lib/apr/network_io/unix/sockets.c
Date Sat, 02 Oct 1999 08:26:46 GMT

The following fragment seems to be wrong in Apache2.0:

> ap_status_t ap_connect(struct socket_t *sock, char *hostname)
> {
>     struct hostent *hp;
> 
>     if (hostname == NULL) {
>         hp = gethostbyname(hostname);


I think it should be "if (hostname != NULL)"

_____________________________________________________________________________
Benoît GARNIER         | Tél. 01 45 57 51 76
88 avenue Félix FAURE  | email : bunch@wanadoo.fr
75015 PARIS            |


Mime
View raw message