--- parser3/src/main/pa_stylesheet_manager.C 2001/11/08 14:47:32 1.6 +++ parser3/src/main/pa_stylesheet_manager.C 2001/12/13 11:29:22 1.8 @@ -4,7 +4,7 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://paf.design.ru) - $Id: pa_stylesheet_manager.C,v 1.6 2001/11/08 14:47:32 paf Exp $ + $Id: pa_stylesheet_manager.C,v 1.8 2001/12/13 11:29:22 paf Exp $ */ #include "pa_config_includes.h" #ifdef XML @@ -51,7 +51,7 @@ Stylesheet_manager::Stylesheet_manager(P } Stylesheet_manager::~Stylesheet_manager() { connection_cache.for_each(expire_connections, - reinterpret_cast((time_t)0/*=in past=expire all*/)); + reinterpret_cast(time(0)+1/*=in future=expire all*/)); } Stylesheet_connection& Stylesheet_manager::get_connection(const String& request_file_spec) { @@ -150,7 +150,6 @@ static void add_connections_to_status_ca for(int countdown=stack.top_index(); countdown-->=0; ) add_connection_to_status_cache_table(iter.next(), info); } - Value& Stylesheet_manager::get_status(Pool& pool, const String *source) { VHash& result=*new(pool) VHash(pool);