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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user