diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-14 19:26:45 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-14 19:26:45 +0200 |
commit | 6ac3199bef203fc28a39724010b79b561ee4e304 (patch) | |
tree | b73cd0501586f82e9518cc2b2b688abcaebe8182 /src/command.c | |
parent | process: add process_output_dump (diff) | |
download | cimple-6ac3199bef203fc28a39724010b79b561ee4e304.tar.gz cimple-6ac3199bef203fc28a39724010b79b561ee4e304.zip |
command: adjust order of parameters to handlers
Diffstat (limited to 'src/command.c')
-rw-r--r-- | src/command.c | 2 |
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; } |