fix lws_lookup off by one

Signed-off-by: nononame <nononame@le-huit.fr>
diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c
index 01dc58e..18b5009 100644
--- a/lib/libwebsockets.c
+++ b/lib/libwebsockets.c
@@ -119,7 +119,7 @@
 		return 1;
 	}
 
-	if (wsi->sock > context->max_fds) {
+	if (wsi->sock >= context->max_fds) {
 		lwsl_err("Socket fd %d is too high (%d)\n",
 						wsi->sock, context->max_fds);
 		return 1;