aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index 5661edc..3c75e69 100644
--- a/src/command.c
+++ b/src/command.c
@@ -121,7 +121,7 @@ int cmd_dispatcher_handle_msg(const struct cmd_dispatcher *dispatcher, int conn_
if (strcmp(cmd->name, actual_cmd))
continue;
- ret = cmd->handler(conn_fd, request, dispatcher->ctx, &response);
+ ret = cmd->handler(conn_fd, request, &response, dispatcher->ctx);
goto exit;
}