From: Bill Stoddard Date: Wed, 20 Oct 1999 19:57:23 +0000 (+0000) Subject: Nuke WIN32ERROR X-Git-Tag: 1.3.10~240 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63d603fc911144b2f94f0203d23ee4ee805dfa72;p=thirdparty%2Fapache%2Fhttpd.git Nuke WIN32ERROR git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84012 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/winnt/registry.c b/server/mpm/winnt/registry.c index 004928f90b2..93897a5120c 100644 --- a/server/mpm/winnt/registry.c +++ b/server/mpm/winnt/registry.c @@ -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) {