Fixed tiny bug in sock_recv_string that caused some clients to hang.

This commit is contained in:
robijn
2004-02-06 16:33:55 +00:00
parent 481b80e17a
commit 80aa4d3d1e
+1 -1
View File
@@ -171,7 +171,7 @@ sock_recv_string (int fd, char *dest, size_t maxlen)
#endif
if (err == -1) {
if (errno == EAGAIN) {
if (recv) {
if (recvBytes) {
// We've begun to read a string, but no bytes are
// available. Loop.
continue;