From 87afccc568d9447559e9668a9cde363a3c110dc7 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Mon, 4 May 2015 02:26:59 +0200
Subject: degesch: fix the /set command
An extra cut_word() fucked things up.
---
degesch.c | 3 +--
1 file changed, 1 insertion(+), 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,
--
cgit v1.2.3-70-g09d2