You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2015/05/15 17:24:53 UTC

trafficserver git commit: TS-3605: interim cache build error

Repository: trafficserver
Updated Branches:
  refs/heads/master 70a6c94dd -> ec6430244


TS-3605: interim cache build error


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

Branch: refs/heads/master
Commit: ec643024432ef5d9f5adb9b70c36a5427c1cc90c
Parents: 70a6c94
Author: Oknet Xu <co...@sina.com>
Authored: Fri May 15 08:24:12 2015 -0700
Committer: James Peach <jp...@apache.org>
Committed: Fri May 15 08:24:46 2015 -0700

----------------------------------------------------------------------
 CHANGES               | 3 +++
 iocore/cache/Cache.cc | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ec643024/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index d8e8d99..9be627f 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 6.0.0
 
+  *) [TS-3605] Fix interim cache build error.
+   Author: Oknet Xu <co...@sina.com>
+
   *) [TS-3602] Remove old SPDY plugin.
 
   *) [TS-3600] Missing break; statement in background_fetch plugin.

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ec643024/iocore/cache/Cache.cc
----------------------------------------------------------------------
diff --git a/iocore/cache/Cache.cc b/iocore/cache/Cache.cc
index ae647f0..2de1a66 100644
--- a/iocore/cache/Cache.cc
+++ b/iocore/cache/Cache.cc
@@ -666,7 +666,7 @@ CacheProcessor::start_internal(int flags)
           struct stat sbuf;
           diskok = 0;
           if (-1 == fstat(fd, &sbuf)) {
-            fprintf(stderr, "Failed to stat cache file for directory %s\n", path)
+            fprintf(stderr, "Failed to stat cache file for directory %s\n", path);
           } else if (blocks != sbuf.st_size / STORE_BLOCK_SIZE) {
             fprintf(stderr, "Cache file for directory %s is %" PRId64 " bytes, expected %" PRId64 "\n", path, sbuf.st_size,
                     blocks * STORE_BLOCK_SIZE);