Signed-Off-By: Pete Zaitcev <[email protected]>
---
test/large-object.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/large-object.c b/test/large-object.c
index f0884b8..fbed9b7 100644
--- a/test/large-object.c
+++ b/test/large-object.c
@@ -28,6 +28,7 @@ static bool send_buf(struct st_client *stc, int sfd, void
*buf, size_t buf_len)
while (buf_len) {
FD_ZERO(&wset);
FD_SET(sfd, &wset);
+ FD_ZERO(&rset);
FD_SET(sfd, &rset);
rc = select(sfd + 1, &rset, &wset, NULL, NULL);
OK(rc >= 0);
--
To unsubscribe from this list: send the line "unsubscribe hail-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html