Use correct sense of the timeout value.

git-svn-id: svn://10.0.0.236/trunk@135201 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
relyea%netscape.com
2002-12-13 00:25:21 +00:00
parent ee38e85440
commit 0ef77cf53b

View File

@@ -4675,7 +4675,7 @@ PK11_WaitForTokenEvent(PK11SlotInfo *slot, PK11TokenEvent event,
if (timeout == PR_INTERVAL_NO_WAIT) {
return waitForRemoval ? PK11TokenPresent : PK11TokenRemoved;
}
if (timeout == PR_INTERVAL_NO_TIMEOUT ) {
if (timeout != PR_INTERVAL_NO_TIMEOUT ) {
interval = PR_IntervalNow();
if (!first_time_set) {
first_time = interval;