mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
trac #39: allow fd 0 for connection
Reported (with fix) by Martijn The http://libwebsockets.org/trac/ticket/39 Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
578a24df3d
commit
512c246338
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ insert_wsi_socket_into_fds(struct libwebsocket_context *context,
|
|||
}
|
||||
|
||||
assert(wsi);
|
||||
assert(wsi->sock);
|
||||
assert(wsi->sock >= 0);
|
||||
|
||||
lwsl_info("insert_wsi_socket_into_fds: wsi=%p, sock=%d, fds pos=%d\n",
|
||||
wsi, wsi->sock, context->fds_count);
|
||||
|
|
Loading…
Add table
Reference in a new issue