Updated Branches:
  refs/heads/master 6e93cff1b -> 0dc90d482

TS-1339 Fix crash on range request.


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

Branch: refs/heads/master
Commit: 0dc90d4825bec348fe0f62fe31d82a7b4d927afc
Parents: 6e93cff
Author: Alan M. Carroll <[email protected]>
Authored: Mon Jul 23 10:53:27 2012 -0500
Committer: Alan M. Carroll <[email protected]>
Committed: Mon Jul 23 10:53:27 2012 -0500

----------------------------------------------------------------------
 iocore/cache/P_CacheInternal.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/0dc90d48/iocore/cache/P_CacheInternal.h
----------------------------------------------------------------------
diff --git a/iocore/cache/P_CacheInternal.h b/iocore/cache/P_CacheInternal.h
index fb5393f..6e58741 100644
--- a/iocore/cache/P_CacheInternal.h
+++ b/iocore/cache/P_CacheInternal.h
@@ -758,8 +758,7 @@ CacheVC::get_frag_table() {
 
 TS_INLINE bool
 CacheVC::is_pread_capable() {
-  ink_debug_assert(od);
-  return od->vector.count() <= 1;
+  return vector.count() <= 1;
 }
 
 TS_INLINE int

Reply via email to