From: short <> Date: Thu, 6 Nov 2003 00:32:10 +0000 (+0000) Subject: captive_shared_cache_map_flush(): Fixed the returned flushed bytes count. X-Git-Tag: captive-1_0_2~13 X-Git-Url: http://git.jankratochvil.net/?p=captive.git;a=commitdiff_plain;h=c6e8e4508dfb91d42381157e08e909ebd60eef8d captive_shared_cache_map_flush(): Fixed the returned flushed bytes count. --- 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