aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/solaris.c
diff options
context:
space:
mode:
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;
}