You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@locus.apache.org on 2000/06/02 20:02:00 UTC

cvs commit: apache-1.3/src/modules/proxy proxy_util.c

wrowe       00/06/02 11:02:00

  Modified:    src/modules/proxy proxy_util.c
  Log:
    Correct bug introduced by today's earlier commit; submitted by Ken Coar.
  
  Revision  Changes    Path
  1.90      +3 -3      apache-1.3/src/modules/proxy/proxy_util.c
  
  Index: proxy_util.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/modules/proxy/proxy_util.c,v
  retrieving revision 1.89
  retrieving revision 1.90
  diff -u -r1.89 -r1.90
  --- proxy_util.c	2000/06/02 14:49:59	1.89
  +++ proxy_util.c	2000/06/02 18:01:59	1.90
  @@ -1318,14 +1318,14 @@
   
   static struct per_thread_data *get_per_thread_data()
   {
  -#if defined WIN32
  +#if defined(WIN32)
   
       return (struct per_thread_data *) TlsGetValue (tls_index);
   
   #else
   
  -    static APACHE_TLS per_thread_data sptd;
  -    return *sptd;
  +    static APACHE_TLS struct per_thread_data sptd;
  +    return &sptd;
   
   #endif
   }