From b86d64eaa9585404a7b8882fb3a29f40bdefd008 Mon Sep 17 00:00:00 2001 From: Timothy J Fontaine Date: Mon, 14 Feb 2011 17:55:27 +0000 Subject: [PATCH] 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 --- lib/libwebsockets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c index 7bec324..c6477ce 100644 --- a/lib/libwebsockets.c +++ b/lib/libwebsockets.c @@ -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; -- 2.7.4