degesch: fix the /set command
An extra cut_word() fucked things up.
This commit is contained in:
parent
8e4a16af3a
commit
87afccc568
|
@ -3818,10 +3818,9 @@ handle_command_set_assign
|
||||||
if (!arguments)
|
if (!arguments)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
char *value = cut_word (&arguments);
|
|
||||||
struct error *e = NULL;
|
struct error *e = NULL;
|
||||||
struct config_item_ *new_ =
|
struct config_item_ *new_ =
|
||||||
config_item_parse (value, strlen (value), true, &e);
|
config_item_parse (arguments, strlen (arguments), true, &e);
|
||||||
if (e)
|
if (e)
|
||||||
{
|
{
|
||||||
buffer_send_error (ctx, ctx->global_buffer,
|
buffer_send_error (ctx, ctx->global_buffer,
|
||||||
|
|
Loading…
Reference in New Issue