aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index bdcb82fe..6bc42bed 100644
--- a/src/command.c
+++ b/src/command.c
@@ -192,7 +192,7 @@ _sendf(const struct command_encoder *ce, ...)
return;
writeb(&in_sendf, 1);
- uint8_t buf_len = READP(ce->max_size) + MESSAGE_MIN;
+ uint8_t buf_len = READP(ce->max_size);
char *buf = console_get_output(buf_len);
if (!buf)
goto done;