aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/command.h
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-13 19:51:00 +0200
committerEgor Tensin <egor@tensin.name>2026-06-13 19:51:04 +0200
commit84262d9f69aa6730c69f464b5b4fb7f6030bf329 (patch)
tree44a506c7c10923e32ab2063594ec4049b988e97a /src/command.h
parentadd .git-blame-ignore-revs (diff)
downloadcimple-84262d9f69aa6730c69f464b5b4fb7f6030bf329.tar.gz
cimple-84262d9f69aa6730c69f464b5b4fb7f6030bf329.zip
switch from tabs to spaces
It was fun while it lasted, but I do believe that spaces are strictly superior, and clang-format struggles with tabs while using advanced configuration options.
Diffstat (limited to 'src/command.h')
-rw-r--r--src/command.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/command.h b/src/command.h
index fea3118..da7ab24 100644
--- a/src/command.h
+++ b/src/command.h
@@ -18,8 +18,8 @@ typedef int (*cmd_handler)(const struct jsonrpc_request* request,
void* ctx);
struct cmd_desc {
- char* name;
- cmd_handler handler;
+ char* name;
+ cmd_handler handler;
};
struct cmd_dispatcher;
@@ -32,8 +32,8 @@ int cmd_dispatcher_handle(const struct cmd_dispatcher*,
struct jsonrpc_response** response);
struct cmd_conn_ctx {
- int fd;
- void* arg;
+ int fd;
+ void* arg;
};
/* This is supposed to be used as an argument to tcp_server_accept. */