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 2018/02/26 17:43:13 UTC
[trafficserver] branch master updated: corrects truncation of
timestamp string
This is an automated email from the ASF dual-hosted git repository.
bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new f6018b8 corrects truncation of timestamp string
f6018b8 is described below
commit f6018b8926db95642e3fa0571c3302d1278b6371
Author: Derek Dagit <de...@oath.com>
AuthorDate: Fri Feb 23 19:25:19 2018 +0000
corrects truncation of timestamp string
---
lib/ts/Diags.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/ts/Diags.cc b/lib/ts/Diags.cc
index a9e4cfb..77764d9 100644
--- a/lib/ts/Diags.cc
+++ b/lib/ts/Diags.cc
@@ -235,7 +235,7 @@ Diags::print_va(const char *debug_tag, DiagsLevel diags_level, const SourceLocat
if (num_bytes_written > 0) {
format_writer.write('[');
- format_writer.write(buffer + 4, num_bytes_written);
+ format_writer.write(buffer + 4, strlen(buffer + 4));
format_writer.write("] ", 2);
}
}
--
To stop receiving notification emails like this one, please contact
bcall@apache.org.