potential fix for avuton's bug

git-svn-id: https://svn.musicpd.org/mpd/trunk@1850 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes 2004-07-12 15:23:07 +00:00
parent 227490e2be
commit a03466016a

View File

@ -42,6 +42,7 @@ void blockingWrite(int fd, char * string, int len) {
while(len) {
ret = write(fd,string,len);
if(ret==0) return;
if(ret<0) {
switch(errno) {
case EAGAIN: