aboutgitcodebugslistschat
path: root/tcp_vu.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcp_vu.c')
-rw-r--r--tcp_vu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcp_vu.c b/tcp_vu.c
index 868a35b..c83abd6 100644
--- a/tcp_vu.c
+++ b/tcp_vu.c
@@ -291,7 +291,7 @@ static ssize_t tcp_vu_sock_recv(const struct ctx *c, struct vu_virtq *vq,
cnt = iov_tail_clone(&iov_msg[j], ARRAY_SIZE(iov_msg) - j,
&data);
- assert(cnt < ARRAY_SIZE(iov_msg) - j);
+ assert(cnt <= ARRAY_SIZE(iov_msg) - j);
if (cnt < 0)
die("Missing entries in iov_msg");