X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-ws.c;h=c48a5e242576e157bc4dd8883421d1fbeede2adc;hb=8b71d1123cee70df8e25558a0e1636c5748fb3b3;hp=94fd30eaa5384d6b2c1dd589fbb2c9c287f5cb4a;hpb=214006b8633c6676a9f5ed2ab5c16e98829807d1;p=src%2Fapp-framework-binder.git diff --git a/src/afb-ws.c b/src/afb-ws.c index 94fd30ea..c48a5e24 100644 --- a/src/afb-ws.c +++ b/src/afb-ws.c @@ -394,6 +394,7 @@ static ssize_t aws_writev(struct afb_ws *ws, const struct iovec *iov, int iovcnt iov2[i] = iov[i]; } iov2->iov_base += rc; + iov2->iov_len -= rc; } pfd.fd = ws->fd; pfd.events = POLLOUT;