mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
Fix refactor damage from missed debug-only print arg
Just a quick follow up there is a compile error at the moment, which I think is resolved as the following? Signed-off-by: Timothy J Fontaine <tjfontaine@gmail.com>
This commit is contained in:
parent
c19456f64a
commit
b86d64eaa9
1 changed files with 1 additions and 1 deletions
|
@ -483,7 +483,7 @@ libwebsocket_service_fd(struct libwebsocket_context *this,
|
|||
if (pollfd->revents & (POLLERR | POLLHUP)) {
|
||||
|
||||
debug("Session Socket %p (fd=%d) dead\n",
|
||||
(void *)wsi, accept_fd);
|
||||
(void *)wsi, pollfd->fd);
|
||||
|
||||
libwebsocket_close_and_free_session(this, wsi);
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue