aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/command.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.h')
-rw-r--r--src/command.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.h b/src/command.h
index d08902e..0ab44c1 100644
--- a/src/command.h
+++ b/src/command.h
@@ -12,8 +12,8 @@
#include <stddef.h>
-typedef int (*cmd_handler)(int conn_fd, const struct msg *request, void *ctx,
- struct msg **response);
+typedef int (*cmd_handler)(int conn_fd, const struct msg *request, struct msg **response,
+ void *ctx);
struct cmd_desc {
char *name;