Author: randyk
Date: Thu Feb 17 19:38:31 2005
New Revision: 154232
URL: http://svn.apache.org/viewcvs?view=rev&rev=154232
Log:
use apr_snprintf, rather than snprintf, for portability.
Modified:
httpd/apreq/branches/multi-env-unstable/library/t/at.c
Modified: httpd/apreq/branches/multi-env-unstable/library/t/at.c
URL:
http://svn.apache.org/viewcvs/httpd/apreq/branches/multi-env-unstable/library/t/at.c?view=diff&r1=154231&r2=154232
==============================================================================
--- httpd/apreq/branches/multi-env-unstable/library/t/at.c (original)
+++ httpd/apreq/branches/multi-env-unstable/library/t/at.c Thu Feb 17 19:38:31
2005
@@ -145,7 +145,7 @@
if (!is_ok && is_fatal) {
while (t->current++ < t->plan) {
- snprintf(buf, 256, "not ok %d # skipped: aborting test %s",
+ apr_snprintf(buf, 256, "not ok %d # skipped: aborting test %s",
t->prior + t->current, t->name);
at_report(t, buf);
}
@@ -228,7 +228,7 @@
AT->fatal = q->saved_fatal;
apr_pool_cleanup_kill(q->pool, q, report_local_cleanup);
while (AT->current++ < AT->plan) {
- snprintf(buf, 256, "not ok %d # skipped: aborting test %s",
+ apr_snprintf(buf, 256, "not ok %d # skipped: aborting test %s",
AT->prior + AT->current, AT->name);
at_report(AT, buf);
}