httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruediger Pluem <rpl...@apache.org>
Subject Re: svn commit: r762771 - /httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c
Date Tue, 07 Apr 2009 19:12:25 GMT


On 04/07/2009 03:38 PM, jfclere@apache.org wrote:
> Author: jfclere
> Date: Tue Apr  7 13:38:01 2009
> New Revision: 762771
> 
> URL: http://svn.apache.org/viewvc?rev=762771&view=rev
> Log:
> Arrange traces.
> 
> Modified:
>     httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c
> 
> Modified: httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c
> URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c?rev=762771&r1=762770&r2=762771&view=diff
> ==============================================================================
> --- httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c (original)
> +++ httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c Tue Apr  7 13:38:01 2009
             }
>              else {
> @@ -343,6 +343,7 @@
>                  pfd.p = p;
>                  pfd.reqevents = APR_POLLIN;
>  
> +                // timeout = apr_time_from_sec((apr_time_sec(ctx->interval) - now
+ cur)>1 ? (apr_time_sec(ctx->interval) - now + cur) : 1);

This is a C++ style comment that fails on pure ANSI C compilers. Furthermore it
does not seem to be a meaningful comment.
I guess this is from some of your internal tests and sneaked into the commit.

Regards

RĂ¼diger


Mime
View raw message