mirror of
https://github.com/gnustep/libs-ec.git
synced 2025-05-30 00:40:42 +00:00
fix laterDate check for small objects
This commit is contained in:
parent
ace6b659b1
commit
47f0660a03
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ static NSTimeInterval defaultDuration = (72.0 * 60.0 * 60.0);
|
|||
{
|
||||
NSDate *expires = [lifetimes objectForKey: key];
|
||||
|
||||
if ([expires laterDate: now] == now)
|
||||
if ([expires laterDate: now] != expires)
|
||||
{
|
||||
[lifetimes removeObjectForKey: key];
|
||||
[overrides removeObjectForKey: key];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue