degesch: fix the /set command

An extra cut_word() fucked things up.
This commit is contained in:
Přemysl Eric Janouch 2015-05-04 02:26:59 +02:00
parent 8e4a16af3a
commit 87afccc568
1 changed files with 1 additions and 2 deletions

View File

@ -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,