httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apache-2.0/src/modules/mpm/winnt registry.c
Date Wed, 26 Jul 2000 13:45:04 GMT
rbb         00/07/26 06:45:02

  Modified:    src/modules/mpm/winnt registry.c
  Log:
  The Windows MPM was sometimes returning APR_NOTFOUND when it should
  have been returning APR_ENOFILE.  This fixes that problem.
  Submitted by:	Gregory Nicholls <gnicholls@level8.com>
  Reviewed by:	Ryan Bloom
  
  Revision  Changes    Path
  1.25      +2 -2      apache-2.0/src/modules/mpm/winnt/registry.c
  
  Index: registry.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/mpm/winnt/registry.c,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- registry.c	2000/07/25 00:58:22	1.24
  +++ registry.c	2000/07/26 13:45:01	1.25
  @@ -225,7 +225,7 @@
   			 &nSize);	/* for size of "value" */
   
       if (rv == ERROR_FILE_NOT_FOUND)
  -        rv = APR_NOTFOUND;
  +        rv = APR_ENOFILE;
   
       RegCloseKey(hKey);
   
  @@ -265,7 +265,7 @@
   			 &nSize);		/* for size of "value" */
   
       if (rv == ERROR_FILE_NOT_FOUND) {
  -        rv = APR_NOTFOUND;
  +        rv = APR_ENOFILE;
       }
       else if (rv != ERROR_SUCCESS) {
   	return_error(rv);
  
  
  

Mime
View raw message