You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Ruediger Pluem <rp...@apache.org> on 2009/04/07 21:12:25 UTC
Re: svn commit: r762771 - /httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c
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