httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Moenich <moen...@us.ibm.com>
Subject [PATCH] TPF util_uri.c
Date Mon, 12 Oct 1998 16:31:22 GMT
Type case for TPF

Index: util_uri.c
===================================================================
RCS file: /apache/apache/src/main/util_uri.c,v
retrieving revision 1.1.1.1
diff -a -b -C3 -r1.1.1.1 util_uri.c
*** util_uri.c  1998/10/12 09:15:42     1.1.1.1
--- util_uri.c  1998/10/12 09:50:10
***************
*** 159,165 ****
--- 159,169 ----
   */
  API_EXPORT(struct hostent *) ap_pgethostbyname(pool *p, const char *hostname)
  {
+ #ifdef TPF
+     struct hostent *hp = gethostbyname((char *)hostname);
+ #else
      struct hostent *hp = gethostbyname(hostname);
+ #endif /* TPF */
      return (hp == NULL) ? NULL : ap_pduphostent(p, hp);
  }

Joe Moenich
moenich@us.ibm.com
303 773-5483
tie-line 656-7487

Mime
View raw message