You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2006/12/02 13:31:12 UTC
svn commit: r481553 - /tomcat/connectors/trunk/jk/native/common/jk_status.c
Author: rjung
Date: Sat Dec 2 04:31:10 2006
New Revision: 481553
URL: http://svn.apache.org/viewvc?view=rev&rev=481553
Log:
Replace "-" by "_" in attribute name time-to-recover to
make naming compliant with ant nameing restrictions
(this helps for the jkstatus ant tasks).
Modified:
tomcat/connectors/trunk/jk/native/common/jk_status.c
Modified: tomcat/connectors/trunk/jk/native/common/jk_status.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_status.c?view=diff&rev=481553&r1=481552&r2=481553
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_status.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_status.c Sat Dec 2 04:31:10 2006
@@ -972,7 +972,7 @@
if (rs < lb->recover_wait_time - (int)difftime(now, wr->s->error_time))
rs += lb->maintain_time;
}
- jk_printf(s, " time-to-recover=\"%u\"", rs < 0 ? 0 : rs);
+ jk_printf(s, " time_to_recover=\"%u\"", rs < 0 ? 0 : rs);
/* Terminate the tag */
jk_puts(s, "/>\n");
}
@@ -1104,7 +1104,7 @@
if (rs < lb->recover_wait_time - (int)difftime(now, wr->s->error_time))
rs += lb->maintain_time;
}
- jk_printf(s, " time-to-recover=%u\n", rs < 0 ? 0 : rs);
+ jk_printf(s, " time_to_recover=%u\n", rs < 0 ? 0 : rs);
}
}
else if (aw) {
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org