From: Bill Stoddard Date: Wed, 20 Oct 1999 21:00:00 +0000 (+0000) Subject: Fix an ap_log_rerror call in a Win32 code branch X-Git-Tag: 1.3.10~239 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7eb6c1404702e73cfc85c6a9d3cbe6d3ec80acb0;p=thirdparty%2Fapache%2Fhttpd.git Fix an ap_log_rerror call in a Win32 code branch git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84013 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_core.c b/modules/http/http_core.c index 1c8564b60c2..0f68dfa6869 100644 --- a/modules/http/http_core.c +++ b/modules/http/http_core.c @@ -871,7 +871,7 @@ API_EXPORT (file_type_e) ap_get_win32_interpreter(const request_rec *r, bResult = ReadFile(hFile, (void*) &buffer, sizeof(buffer) - 1, &nBytesRead, NULL); if (!bResult || (nBytesRead == 0)) { - ap_log_rerror(APLOG_MARK, APLOG_ERR, r, + ap_log_rerror(APLOG_MARK, APLOG_ERR, GetLastError(), r, "ReadFile(%s) failed", r->filename); CloseHandle(hFile); return eFileTypeUNKNOWN;