You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2010/05/12 20:33:41 UTC
svn commit: r943621 [5/5] - in /trafficserver/traffic/trunk: iocore/cache/
iocore/cluster/ iocore/dns/ iocore/eventsystem/ iocore/hostdb/ iocore/net/
libinktomi++/ librecords/ proxy/ proxy/congest/ proxy/hdrs/ proxy/http2/
proxy/http2/remap/ proxy/logg...
Modified: trafficserver/traffic/trunk/test/deft/test_results.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/test/deft/test_results.cc?rev=943621&r1=943620&r2=943621&view=diff
==============================================================================
--- trafficserver/traffic/trunk/test/deft/test_results.cc (original)
+++ trafficserver/traffic/trunk/test/deft/test_results.cc Wed May 12 18:33:38 2010
@@ -38,7 +38,7 @@
#include "ink_platform.h"
#include "Diags.h"
-#include "ink_snprintf.h"
+#include "snprintf.h"
// From test_exec.cc
extern UserDirInfo *ud_info;
@@ -147,7 +147,7 @@ TestRunResults::start(const char *tname,
if (save_results) {
char tmp[1024];
- ink_snprintf(tmp, 1023, "%s/%s", save_results_dir, run_id_str);
+ snprintf(tmp, 1023, "%s/%s", save_results_dir, run_id_str);
tmp[1023] = '\0';
int r;
@@ -167,7 +167,7 @@ TestRunResults::output_summary_html()
{
char summary_file[1024];
- ink_snprintf(summary_file, 1023, "%s/%s/index.html", save_results_dir, run_id_str);
+ snprintf(summary_file, 1023, "%s/%s/index.html", save_results_dir, run_id_str);
summary_file[1023] = '\0';
int fd;
@@ -490,7 +490,7 @@ TestRunResults::build_tinderbox_message_
output->fill(ud_hdr, sizeof(ud_hdr) - 1);
char tmp[1024];
- r = ink_snprintf(tmp, 1023, "%s/%s/", save_results_url, run_id_str);
+ r = snprintf(tmp, 1023, "%s/%s/", save_results_url, run_id_str);
tmp[1023] = '\0';
output->fill(tmp, r);
output->fill("\n", 1);