From: Alan T. DeKok Date: Thu, 9 Jul 2015 17:22:06 +0000 (-0400) Subject: Don't include the '}' in the xlat name X-Git-Tag: release_3_0_10~368 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3a24aa9cef02aca8df6d9747cfda94c8911616f;p=thirdparty%2Ffreeradius-server.git Don't include the '}' in the xlat name --- diff --git a/src/main/xlat.c b/src/main/xlat.c index 5e0865a3de2..1656a2f513d 100644 --- a/src/main/xlat.c +++ b/src/main/xlat.c @@ -1368,7 +1368,7 @@ static ssize_t xlat_tokenize_expansion(TALLOC_CTX *ctx, char *fmt, xlat_exp_t ** *error = "No matching closing brace"; return -1; /* second character of format string */ } - p++; + *p++ = '\0'; *head = node; rad_assert(node->next == NULL);