From c6e8e4508dfb91d42381157e08e909ebd60eef8d Mon Sep 17 00:00:00 2001 From: short <> Date: Thu, 6 Nov 2003 00:32:10 +0000 Subject: [PATCH] captive_shared_cache_map_flush(): Fixed the returned flushed bytes count. --- src/libcaptive/cc/sharedcachemap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libcaptive/cc/sharedcachemap.c b/src/libcaptive/cc/sharedcachemap.c index 9ee7cd4..db4e1dc 100644 --- a/src/libcaptive/cc/sharedcachemap.c +++ b/src/libcaptive/cc/sharedcachemap.c @@ -784,6 +784,8 @@ CaptiveSharedCacheMapObject_page *page; for (lsn_page=lsn_pages_pointer;lsn_pagecaptive_shared_cache_map_object,lsn_page->offset); + if (lsn_page->captive_shared_cache_map_object==captive_shared_cache_map_object + && lsn_page->offset>=start && lsn_page->offset