aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-05-04 02:26:59 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-05-04 02:26:59 +0200
commit87afccc568d9447559e9668a9cde363a3c110dc7 (patch)
tree609df5d065727ff0ac958a42fd2fe808db68d662
parent8e4a16af3a920b2c953eb614c4fe3938317e4cd7 (diff)
downloadxK-87afccc568d9447559e9668a9cde363a3c110dc7.tar.gz
xK-87afccc568d9447559e9668a9cde363a3c110dc7.tar.xz
xK-87afccc568d9447559e9668a9cde363a3c110dc7.zip
degesch: fix the /set command
An extra cut_word() fucked things up.
-rw-r--r--degesch.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/degesch.c b/degesch.c
index 73263fd..639b60b 100644
--- a/degesch.c
+++ b/degesch.c
@@ -3818,10 +3818,9 @@ handle_command_set_assign
if (!arguments)
return false;
- char *value = cut_word (&arguments);
struct error *e = NULL;
struct config_item_ *new_ =
- config_item_parse (value, strlen (value), true, &e);
+ config_item_parse (arguments, strlen (arguments), true, &e);
if (e)
{
buffer_send_error (ctx, ctx->global_buffer,