X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-ws.c;h=b157a49f5ba12855c2f7b2e5a89ad99857491c68;hb=7e674cc7202abfae0dd07df8805a0dea743bf4be;hp=cc852b20eba19521c866946d450bf68fcdaec507;hpb=2243a0dd1adc75530bed663db808971789729df3;p=src%2Fapp-framework-binder.git diff --git a/src/afb-ws.c b/src/afb-ws.c index cc852b20..b157a49f 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; @@ -498,7 +498,7 @@ static void aws_on_binary(struct afb_ws *ws, int last, size_t size) } /* - * Callback when 'close' command received from 'ws' with 'code' and 'size'. + * Callback when 'continue' command received from 'ws' with 'code' and 'size'. */ static void aws_on_continue(struct afb_ws *ws, int last, size_t size) {