summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2002-01-22 23:57:41 +0000
committerwtc%netscape.com <devnull@localhost>2002-01-22 23:57:41 +0000
commit4e920f5ec7922b1e3439cd1c43548332e12274bb (patch)
tree920991e006d57d2b63a3236634da3798b104b170
parentebb255322ebaf9c407013ed48f1a0074c513a926 (diff)
downloadnspr-hg-4e920f5ec7922b1e3439cd1c43548332e12274bb.tar.gz
Fixed if-else indentation style.
Modified files: macio.c macsockotpt.c
-rw-r--r--pr/src/md/mac/macio.c3
-rw-r--r--pr/src/md/mac/macsockotpt.c13
2 files changed, 6 insertions, 10 deletions
diff --git a/pr/src/md/mac/macio.c b/pr/src/md/mac/macio.c
index 4db8c0b2..bef0eb1a 100644
--- a/pr/src/md/mac/macio.c
+++ b/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/pr/src/md/mac/macsockotpt.c b/pr/src/md/mac/macsockotpt.c
index f675b61c..8ee592cb 100644
--- a/pr/src/md/mac/macsockotpt.c
+++ b/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);
}
}