stoddard    99/10/20 12:57:31

  Modified:    src/os/win32 registry.c
  Log:
  Nuke WIN32ERROR
  
  Revision  Changes    Path
  1.5       +4 -4      apache-2.0/src/os/win32/registry.c
  
  Index: registry.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/os/win32/registry.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- registry.c        1999/10/20 19:51:06     1.4
  +++ registry.c        1999/10/20 19:57:23     1.5
  @@ -52,7 +52,7 @@
    * Because this is common, let's have a macro.
    */
   #define do_error(rv,fmt,arg) do { \
  -     ap_log_error(APLOG_MARK, APLOG_WIN32ERROR|APLOG_ERR, rv, NULL, fmt, 
arg); \
  +         ap_log_error(APLOG_MARK, APLOG_ERR, rv, NULL, fmt, arg); \
       } while (0);
   
   /*
  @@ -106,13 +106,13 @@
                      &hKey);
   
       if (rv == ERROR_FILE_NOT_FOUND) {
  -     ap_log_error(APLOG_MARK,APLOG_WARNING|APLOG_NOERRNO,rv,NULL,
  +        ap_log_error(APLOG_MARK,APLOG_WARNING|APLOG_NOERRNO,rv,NULL,
           "Registry does not contain key %s",key);
  -     return -1;
  +        return -1;
       }
       if (rv != ERROR_SUCCESS) {
           do_error(rv, "RegOpenKeyEx HKLM\\%s",key);
  -     return -4;
  +        return -4;
       }
   
       if (pBuffer == NULL) {
  
  
  

Reply via email to