From 5241dae87de88906dc5c1dc271a4f25522a22d4c Mon Sep 17 00:00:00 2001 From: nicm Date: Sat, 21 Aug 2021 17:25:32 +0000 Subject: Stop caring about empty commands, just treat as a null command. --- server-client.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'server-client.c') 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; -- cgit v1.2.3