Hi GCC said that "socket" was unused. Another option would be to remove it as an argument and keep the access as cs->socket.
- Lauri
>From 45f68b69a73df30ad002ba26943fa1f61fdef87d Mon Sep 17 00:00:00 2001 From: Lauri Kasanen <[email protected]> Date: Mon, 7 May 2012 17:45:45 +0300 Subject: [PATCH 1/2] request: Make use of the socket arg GCC said that socket was unused. Another option would be to remove it as an argument and keep the access as cs->socket. Signed-off-by: Lauri Kasanen <[email protected]> --- src/mk_request.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mk_request.c b/src/mk_request.c index 131d298..616e105 100644 --- a/src/mk_request.c +++ b/src/mk_request.c @@ -653,7 +653,7 @@ int mk_handler_write(int socket, struct client_session *cs) } else { /* STAGE_40, request has ended */ - mk_plugin_stage_run(MK_PLUGIN_STAGE_40, cs->socket, + mk_plugin_stage_run(MK_PLUGIN_STAGE_40, socket, NULL, cs, sr_node); switch (final_status) { case EXIT_NORMAL: -- 1.7.2.1
_______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
