From: Timothy J Fontaine Date: Mon, 14 Feb 2011 17:55:27 +0000 (+0000) Subject: Fix refactor damage from missed debug-only print arg X-Git-Tag: 1.2~174 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b86d64eaa9585404a7b8882fb3a29f40bdefd008;p=profile%2Fivi%2Flibwebsockets.git 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 --- 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;