(doit): fix flow-of-control bug in prev version
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4782 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -438,10 +438,10 @@ doit(int sock, int tcpp)
|
|||||||
|
|
||||||
fd = accept (sockets[i].fd, NULL, &zero);
|
fd = accept (sockets[i].fd, NULL, &zero);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
if (errno == EINTR)
|
if (errno == EINTR)
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user