mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Fixed if-else indentation style.
Modified files: macio.c macsockotpt.c
This commit is contained in:
parent
feb44a3f77
commit
7f7e904d33
@ -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;
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user