diff --git a/mozilla/nsprpub/pr/src/md/mac/macio.c b/mozilla/nsprpub/pr/src/md/mac/macio.c index 4db8c0b20d4..bef0eb1a282 100644 --- a/mozilla/nsprpub/pr/src/md/mac/macio.c +++ b/mozilla/nsprpub/pr/src/md/mac/macio.c @@ -81,8 +81,7 @@ static void AsyncIOCompletion (ExtendedParamBlock *pbAsyncPtr) if (_PR_MD_GET_INTSOFF()) { thread->md.missedIONotify = PR_TRUE; cpu->u.missed[cpu->where] |= _PR_MISSED_IO; - } - else { + } else { _PR_INTSOFF(is); thread->md.osErrCode = noErr; diff --git a/mozilla/nsprpub/pr/src/md/mac/macsockotpt.c b/mozilla/nsprpub/pr/src/md/mac/macsockotpt.c index f675b61c894..8ee592cba16 100644 --- a/mozilla/nsprpub/pr/src/md/mac/macsockotpt.c +++ b/mozilla/nsprpub/pr/src/md/mac/macsockotpt.c @@ -173,9 +173,9 @@ static pascal void DNSNotifierRoutine(void * contextPtr, OTEventCode otEvent, O if (_PR_MD_GET_INTSOFF()) { dnsContext.thread->md.missedIONotify = PR_TRUE; cpu->u.missed[cpu->where] |= _PR_MISSED_IO; - } - else + } else { DoneWaitingOnThisThread(dnsContext.thread); + } break; case kOTProviderWillClose: @@ -189,8 +189,7 @@ static pascal void DNSNotifierRoutine(void * contextPtr, OTEventCode otEvent, O if (_PR_MD_GET_INTSOFF()) { dnsContext.thread->md.missedIONotify = PR_TRUE; cpu->u.missed[cpu->where] |= _PR_MISSED_IO; - } - else { + } else { DoneWaitingOnThisThread(dnsContext.thread); } break; @@ -299,8 +298,7 @@ WakeUpNotifiedThread(PRThread *thread, OTResult result) if (_PR_MD_GET_INTSOFF()) { thread->md.missedIONotify = PR_TRUE; cpu->u.missed[cpu->where] |= _PR_MISSED_IO; - } - else { + } else { DoneWaitingOnThisThread(thread); } } @@ -1175,8 +1173,7 @@ static pascal void RawEndpointNotifierRoutine(void * contextPtr, OTEventCode co if (_PR_MD_GET_INTSOFF()) { thread->md.asyncNotifyPending = PR_TRUE; cpu->u.missed[cpu->where] |= _PR_MISSED_IO; - } - else { + } else { DoneWaitingOnThisThread(thread); } }