apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwool...@apache.org
Subject cvs commit: apr/network_io/unix sa_common.c
Date Wed, 08 Aug 2001 05:54:41 GMT
jwoolley    01/08/07 22:54:41

  Modified:    network_io/unix sa_common.c
  Log:
  Fix a segfault on Win32 when hostname resolution fails.  We were looking
  up the error but forgot to actually return with that error number.
  
  Submitted by:	Ian Holsman <ianh@cnet.com>
  
  Revision  Changes    Path
  1.43      +1 -1      apr/network_io/unix/sa_common.c
  
  Index: sa_common.c
  ===================================================================
  RCS file: /home/cvs/apr/network_io/unix/sa_common.c,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -d -u -r1.42 -r1.43
  --- sa_common.c	2001/08/01 18:03:33	1.42
  +++ sa_common.c	2001/08/08 05:54:41	1.43
  @@ -439,7 +439,7 @@
   
           if (!hp)  {
   #ifdef WIN32
  -            apr_get_netos_error();
  +            return apr_get_netos_error();
   #elif APR_HAS_THREADS && !defined(GETHOSTBYNAME_IS_THREAD_SAFE) && \
       defined(HAVE_GETHOSTBYNAME_R) && !defined(BEOS)
   #ifdef GETHOSTBYNAME_R_HOSTENT_DATA
  
  
  

Mime
View raw message