httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grega...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/dso/os390 dso.c
Date Thu, 31 Aug 2000 20:23:10 GMT
gregames    00/08/31 13:23:09

  Modified:    src/lib/apr/dso/os390 dso.c
  Log:
  Switch the order of the dllqueryxxx calls.  dllqueryvar is the only one
  used today (to locate an Apache dso module's module structure), so put it
  first.
  
  Revision  Changes    Path
  1.2       +4 -4      apache-2.0/src/lib/apr/dso/os390/dso.c
  
  Index: dso.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/dso/os390/dso.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- dso.c	2000/08/17 14:20:13	1.1
  +++ dso.c	2000/08/31 20:23:08	1.2
  @@ -107,12 +107,12 @@
       void *func_ptr;
       void *var_ptr; 
   
  -    if ((func_ptr = (void *)dllqueryfn(handle->handle, symname)) != NULL) {
  -        *ressym = func_ptr;
  -        return APR_SUCCESS;
  -    }
       if ((var_ptr = dllqueryvar(handle->handle, symname)) != NULL) {
           *ressym = var_ptr;
  +        return APR_SUCCESS;
  +    }
  +    if ((func_ptr = (void *)dllqueryfn(handle->handle, symname)) != NULL) {
  +        *ressym = func_ptr;
           return APR_SUCCESS;
       }
       handle->failing_errno = errno;
  
  
  

Mime
View raw message