fix for #309770. Porting RefreshURLTimer fix from 4.06 to Moz.

git-svn-id: svn://10.0.0.236/trunk@9645 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pnunn%netscape.com
1998-09-09 19:08:32 +00:00
parent 3ef73042ff
commit 1558689e2b

View File

@@ -20,7 +20,7 @@
* ilclient.c --- Management of imagelib client data structures,
* including image cache.
*
* $Id: ilclient.cpp,v 3.2 1998-08-18 22:24:59 pnunn%netscape.com Exp $
* $Id: ilclient.cpp,v 3.3 1998-09-09 19:08:32 pnunn%netscape.com Exp $
*/
@@ -460,7 +460,8 @@ il_get_container(IL_GroupContext *img_cx,
/* 2) Their namespace crosses document boundaries, so caching */
/* could result in incorrect behavior. */
else if ((FORCE_RELOAD(cache_reload_policy) && !ic->forced) ||
else if((cache_reload_policy == NET_SUPER_RELOAD) ||
((cache_reload_policy == NET_NORMAL_RELOAD) && (!ic->forced)) ||
(cache_reload_policy != NET_CACHE_ONLY_RELOAD &&
ic->expires && (time(NULL) > ic->expires))
#ifndef STANDALONE_IMAGE_LIB