httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1142160 - /httpd/httpd/trunk/server/log.c
Date Sat, 02 Jul 2011 06:45:54 GMT
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;
 }



Mime
View raw message