httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: httpd-2.0/modules/ssl ssl_util.c
Date Fri, 24 Aug 2001 06:34:26 GMT
dougm       01/08/23 23:34:26

  Modified:    modules/ssl ssl_util.c
  Log:
  apr_os_thread_current() call needs #if APR_HAS_THREADS protection
  Submitted by:    Justin Erenkrantz <jerenkrantz@ebuilt.com>
  
  Revision  Changes    Path
  1.17      +5 -0      httpd-2.0/modules/ssl/ssl_util.c
  
  Index: ssl_util.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_util.c,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- ssl_util.c	2001/08/24 06:22:09	1.16
  +++ ssl_util.c	2001/08/24 06:34:26	1.17
  @@ -347,10 +347,12 @@
       }
   }
   
  +#if APR_HAS_THREADS
   static unsigned long ssl_util_thr_id(void)
   {
       return (unsigned long) apr_os_thread_current();
   }
  +#endif
   
   static apr_status_t ssl_util_thread_cleanup(void *data)
   {
  @@ -389,7 +391,10 @@
                           mc->szMutexFile, p);
       }
   
  +#if APR_HAS_THREADS
       CRYPTO_set_id_callback(ssl_util_thr_id);
  +#endif
  +
       CRYPTO_set_locking_callback(ssl_util_thr_lock);
   
       apr_pool_cleanup_register(p, NULL,
  
  
  

Mime
View raw message