You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sf...@apache.org on 2011/07/02 08:45:54 UTC

svn commit: r1142160 - /httpd/httpd/trunk/server/log.c

Author: sf
Date: Sat Jul  2 06:45:54 2011
New Revision: 1142160

URL: http://svn.apache.org/viewvc?rev=1142160&view=rev
Log:
Fix logging of the log id of subrequests

Modified:
    httpd/httpd/trunk/server/log.c

Modified: httpd/httpd/trunk/server/log.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/log.c?rev=1142160&r1=1142159&r2=1142160&view=diff
==============================================================================
--- httpd/httpd/trunk/server/log.c (original)
+++ httpd/httpd/trunk/server/log.c Sat Jul  2 06:45:54 2011
@@ -654,8 +654,8 @@ static int log_log_id(const ap_errorlog_
             return cpystrn(buf, info->c->log_id, buflen);
         }
     }
-    else if (info->r) {
-        return cpystrn(buf, info->r->log_id, buflen);
+    else if (info->rmain) {
+        return cpystrn(buf, info->rmain->log_id, buflen);
     }
     return 0;
 }