]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Nuke WIN32ERROR
authorBill Stoddard <stoddard@apache.org>
Wed, 20 Oct 1999 19:57:23 +0000 (19:57 +0000)
committerBill Stoddard <stoddard@apache.org>
Wed, 20 Oct 1999 19:57:23 +0000 (19:57 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84012 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/winnt/registry.c

index 004928f90b2bb6d18ab1436f82d8a2fef6666303..93897a5120c7efa140f33ca34f9551a1b3d76193 100644 (file)
@@ -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 @@ static int ap_registry_get_key_int(ap_context_t *p, char *key, char *name, char
                      &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) {