X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-ws.c;fp=src%2Fafb-ws.c;h=c6126100908186f35a7b41451038430f3a7b45f8;hb=ca9807f73646f536ac58c002d963a8bb8d245f5d;hp=cc852b20eba19521c866946d450bf68fcdaec507;hpb=80900470d00c56d2fa51fb7c3da429d09e1d9a78;p=src%2Fapp-framework-binder.git diff --git a/src/afb-ws.c b/src/afb-ws.c index cc852b20..c6126100 100644 --- a/src/afb-ws.c +++ b/src/afb-ws.c @@ -407,7 +407,7 @@ static int aws_read(struct afb_ws *ws, size_t size) return 0; pfd.fd = ws->fd; pfd.events = POLLIN; - poll(&pfd, 1, 10); + poll(&pfd, 1, 10); /* TODO: make fully asynchronous websockets */ } else { ws->buffer.size += (size_t)sz; size -= (size_t)sz;