aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/solaris.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-01-10 12:40:59 -0800
committerChris Robinson <[email protected]>2010-01-10 12:40:59 -0800
commitac9c2e8c4a04703a58325164e530140d9f8c4d85 (patch)
tree5f2ae2bf0b993008bce6532083f5e90caedfdf8c /Alc/solaris.c
parent45f8efec414c7a5c26d6a4953cbc074b54231209 (diff)
Cleanup OSS/Solaris loop a bit
Diffstat (limited to 'Alc/solaris.c')
-rw-r--r--Alc/solaris.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/solaris.c b/Alc/solaris.c
index 9cb4092a..5461531f 100644
--- a/Alc/solaris.c
+++ b/Alc/solaris.c
@@ -77,10 +77,10 @@ static ALuint SolarisProc(ALvoid *ptr)
{
AL_PRINT("write failed: %s\n", strerror(errno));
aluHandleDisconnect(pDevice);
- len = 0;
+ break;
}
- else
- Sleep(1);
+
+ Sleep(1);
continue;
}