You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gr...@locus.apache.org on 2000/08/31 22:23:10 UTC
cvs commit: apache-2.0/src/lib/apr/dso/os390 dso.c
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;