httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@hyperreal.org
Subject cvs commit: apache-2.0/src/os/win32 mod_isapi.c
Date Tue, 31 Aug 1999 15:26:46 GMT
stoddard    99/08/31 08:26:46

  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.3       +1 -1      apache-2.0/src/os/win32/mod_isapi.c
  
  Index: mod_isapi.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/os/win32/mod_isapi.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- mod_isapi.c	1999/08/31 05:35:10	1.2
  +++ mod_isapi.c	1999/08/31 15:26:45	1.3
  @@ -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);
  
  
  

Mime
View raw message