From b485eb5684bf51783ef259ec8befce752fbb2e90 Mon Sep 17 00:00:00 2001 From: "wtc%netscape.com" Date: Tue, 22 Jan 2002 23:57:41 +0000 Subject: [PATCH] Fixed if-else indentation style. Modified files: macio.c macsockotpt.c git-svn-id: svn://10.0.0.236/trunk@112543 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/nsprpub/pr/src/md/mac/macio.c | 3 +-- mozilla/nsprpub/pr/src/md/mac/macsockotpt.c | 13 +++++-------- 2 files changed, 6 insertions(+), 10 deletions(-) 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); } }