diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-05-04 02:26:59 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-05-04 02:26:59 +0200 |
commit | 87afccc568d9447559e9668a9cde363a3c110dc7 (patch) | |
tree | 609df5d065727ff0ac958a42fd2fe808db68d662 | |
parent | 8e4a16af3a920b2c953eb614c4fe3938317e4cd7 (diff) | |
download | xK-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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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, |