diff --git a/shared/sockets.c b/shared/sockets.c index d2df7ad..0c20de1 100644 --- a/shared/sockets.c +++ b/shared/sockets.c @@ -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;