Removing a printf statement that I mistakenly included in the previous checkin. Got permission
from leaf to checkin this fix with out r and sr comments. git-svn-id: svn://10.0.0.236/trunk@102686 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
47e11a7754
commit
009b995541
@ -5498,11 +5498,9 @@ nsDocShell::AddToSessionHistory(nsIURI * aURI,
|
||||
// Check if the page has expired from cache
|
||||
nsCOMPtr<nsICacheEntryDescriptor> cacheEntryDesc(do_QueryInterface(cacheToken));
|
||||
if (cacheEntryDesc) {
|
||||
PRUint32 expTime;
|
||||
|
||||
PRUint32 expTime;
|
||||
cacheEntryDesc->GetExpirationTime(&expTime);
|
||||
PRUint32 now = PRTimeToSeconds(PR_Now());
|
||||
printf("Exptime = %d, Now = %d\n", expTime, now);
|
||||
PRUint32 now = PRTimeToSeconds(PR_Now());
|
||||
if (expTime <= now)
|
||||
expired = PR_TRUE;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user