httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/arch/win32 mod_isapi.c
Date Mon, 11 Nov 2002 05:58:40 GMT
wrowe       2002/11/10 21:58:40

  Modified:    modules/arch/win32 mod_isapi.c
  Log:
    Fix several cut 'n paste errors identified by Juergen Heckel.
  
  Revision  Changes    Path
  1.88      +2 -4      httpd-2.0/modules/arch/win32/mod_isapi.c
  
  Index: mod_isapi.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/arch/win32/mod_isapi.c,v
  retrieving revision 1.87
  retrieving revision 1.88
  diff -u -r1.87 -r1.88
  --- mod_isapi.c	9 Nov 2002 19:20:33 -0000	1.87
  +++ mod_isapi.c	11 Nov 2002 05:58:39 -0000	1.88
  @@ -892,9 +892,7 @@
            * leave it to the pool cleanup to dispose of our mutex.
            */
           if (cid->completed) {
  -            rv = apr_thread_mutex_create(&cid->completed, 
  -                                         APR_THREAD_MUTEX_UNNESTED, 
  -                                         r->pool);
  +            (void)apr_thread_mutex_unlock(cid->completed);
               return 1;
           }
           else if (cid->dconf.log_unsupported) {
  @@ -1498,7 +1496,7 @@
                                        APR_THREAD_MUTEX_UNNESTED, 
                                        r->pool);
           if (cid->completed && (rv == APR_SUCCESS)) {
  -            rv = apr_thread_mutex_lock(comp);
  +            rv = apr_thread_mutex_lock(cid->completed);
           }
   
           if (!cid->completed || (rv != APR_SUCCESS)) {
  
  
  

Mime
View raw message