From: Alan T. DeKok Date: Tue, 24 Jul 2018 17:44:13 +0000 (-0400) Subject: save the current word, not the whole string X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c619ebeb3012c81469cbf492c01ff62ea5a851e2;p=thirdparty%2Ffreeradius-server.git save the current word, not the whole string --- diff --git a/src/lib/server/command.c b/src/lib/server/command.c index 8450d5baaf7..68f1fcdba39 100644 --- a/src/lib/server/command.c +++ b/src/lib/server/command.c @@ -2394,7 +2394,7 @@ static int expand_syntax(fr_cmd_t *cmd, fr_cmd_info_t *info, fr_cmd_argv_t *argv * Give the function the partial * text which should be expanded. */ - info->argv[info->argc] = text; + info->argv[info->argc] = word; info->box[info->argc] = NULL; info->argc++;