зеркало из https://github.com/mozilla/pjs.git
Bug 197147: removed an invalid/unnecessary comparison of two
PRIntervalTimes in pk11_InDelayPeriod.
This commit is contained in:
Родитель
5e7ab39a51
Коммит
6c4e221cc7
|
@ -2382,8 +2382,7 @@ pk11_InDelayPeriod(PRIntervalTime lastTime, PRIntervalTime delayTime,
|
|||
PRIntervalTime time;
|
||||
|
||||
*retTime = time = PR_IntervalNow();
|
||||
return (PRBool) (lastTime) && (time > lastTime) &&
|
||||
((time-lastTime) < delayTime);
|
||||
return (PRBool) (lastTime) && ((time-lastTime) < delayTime);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Загрузка…
Ссылка в новой задаче