stoddard 99/08/31 08:22:41
Modified: src/os/win32 mod_isapi.c
Log:
Fix faulty comparison. MSVC TRUE == 1 while Borland TRUE == -1.
PR: 4333, 4887
Submitted by: Sergey Verlan
Revision Changes Path
1.18 +1 -1 apache-1.3/src/os/win32/mod_isapi.c
Index: mod_isapi.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/os/win32/mod_isapi.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- mod_isapi.c 1999/01/08 17:54:43 1.17
+++ mod_isapi.c 1999/08/31 15:22:40 1.18
@@ -172,7 +172,7 @@
/* Run GetExtensionVersion() */
- if ((*isapi_version)(pVer) != TRUE) {
+ if (!(*isapi_version)(pVer)) {
ap_log_rerror(APLOG_MARK, APLOG_ALERT, r,
"ISAPI GetExtensionVersion() failed: %s", r->filename);
FreeLibrary(isapi_handle);