summaryrefslogtreecommitdiffstats
path: root/server-client.c
diff options
context:
space:
mode:
authornicm <nicm>2021-08-21 17:25:32 +0000
committernicm <nicm>2021-08-21 17:25:32 +0000
commit5241dae87de88906dc5c1dc271a4f25522a22d4c (patch)
tree17be354eb3556ed62cfdc74f2a8e4ecfe6599a22 /server-client.c
parent68cacaec68ca8300e0ea439abdf9db16e74241bb (diff)
Stop caring about empty commands, just treat as a null command.
Diffstat (limited to 'server-client.c')
-rw-r--r--server-client.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/server-client.c b/server-client.c
index 87c0f554..8821ba57 100644
--- a/server-client.c
+++ b/server-client.c
@@ -2151,9 +2151,6 @@ server_client_dispatch_command(struct client *c, struct imsg *imsg)
pr = cmd_parse_from_arguments(argc, argv, NULL);
switch (pr->status) {
- case CMD_PARSE_EMPTY:
- cause = xstrdup("empty command");
- goto error;
case CMD_PARSE_ERROR:
cause = pr->error;
goto error;