You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by st...@hyperreal.org on 1999/10/20 23:00:03 UTC

cvs commit: apache-2.0/src/main http_core.c

stoddard    99/10/20 14:00:03

  Modified:    src/main http_core.c
  Log:
  Fix an ap_log_rerror call in a Win32 code branch
  
  Revision  Changes    Path
  1.20      +1 -1      apache-2.0/src/main/http_core.c
  
  Index: http_core.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_core.c,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- http_core.c	1999/10/20 12:49:54	1.19
  +++ http_core.c	1999/10/20 21:00:00	1.20
  @@ -871,7 +871,7 @@
       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;