1
0
Fork 0
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:
Timothy J Fontaine 2011-02-14 17:55:27 +00:00 committed by Andy Green
parent c19456f64a
commit b86d64eaa9

View file

@ -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;