ppoll fix signal mask sense

Signed-off-by: Andy Green <andy.green@linaro.org>
fix lws_lookup off by one

Signed-off-by: nononame <nononame@le-huit.fr>