trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yun...@apache.org
Subject git commit: Fix warning by adding space between " and PRIu32
Date Fri, 09 Aug 2013 07:09:23 GMT
Updated Branches:
  refs/heads/master 5b002b11c -> 2af1cb274


Fix warning by adding space between " and PRIu32

Signed-off-by: Yunkai Zhang <qiushu.zyk@taobao.com>


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/2af1cb27
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/2af1cb27
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/2af1cb27

Branch: refs/heads/master
Commit: 2af1cb27406a14c7d92385fd611ef4da188c9974
Parents: 5b002b1
Author: Yunkai Zhang <qiushu.zyk@taobao.com>
Authored: Fri Aug 9 15:03:43 2013 +0800
Committer: Yunkai Zhang <qiushu.zyk@taobao.com>
Committed: Fri Aug 9 15:08:41 2013 +0800

----------------------------------------------------------------------
 proxy/logging/LogFile.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/2af1cb27/proxy/logging/LogFile.cc
----------------------------------------------------------------------
diff --git a/proxy/logging/LogFile.cc b/proxy/logging/LogFile.cc
index 430b75a..29eb4d5 100644
--- a/proxy/logging/LogFile.cc
+++ b/proxy/logging/LogFile.cc
@@ -655,7 +655,7 @@ LogFile::write_ascii_logbuffer3(LogBufferHeader * buffer_header, char
*alt_forma
     //
     do {
       if (entry_header->entry_len >= m_max_line_size) {
-        Warning("Log is too long(%"PRIu32"), it would be truncated. max_len:%zu",
+        Warning("Log is too long(%" PRIu32 "), it would be truncated. max_len:%zu",
                 entry_header->entry_len, m_max_line_size);
       }
 
@@ -671,7 +671,7 @@ LogFile::write_ascii_logbuffer3(LogBufferHeader * buffer_header, char
*alt_forma
         m_ascii_buffer[fmt_buf_bytes] = '\n';
         ++fmt_buf_bytes;
       } else {
-        Error("Failed to convert LogBuffer to ascii, have dropped (%"PRIu32") bytes.",
+        Error("Failed to convert LogBuffer to ascii, have dropped (%" PRIu32 ") bytes.",
               entry_header->entry_len);
       }
       // if writing to a pipe, fill the buffer with a single


Mime
View raw message