rbb 99/10/02 16:02:10
Modified: src/lib/apr/network_io/unix sockets.c
Log:
fix typo in ap_connect.
Submitted by: Benoit Garnier
Revision Changes Path
1.10 +1 -1 apache-2.0/src/lib/apr/network_io/unix/sockets.c
Index: sockets.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/unix/sockets.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sockets.c 1999/10/01 16:18:35 1.9
+++ sockets.c 1999/10/02 23:02:09 1.10
@@ -293,7 +293,7 @@
{
struct hostent *hp;
- if (hostname == NULL) {
+ if (hostname != NULL) {
hp = gethostbyname(hostname);
if ((sock->socketdes < 0) || (!sock->addr)) {