From: Alan T. DeKok Date: Wed, 31 Aug 2022 13:06:30 +0000 (-0400) Subject: typo X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc2c3c22de0d9608031ab349a25d4408c29498e6;p=thirdparty%2Ffreeradius-server.git typo --- diff --git a/src/lib/unlang/edit.c b/src/lib/unlang/edit.c index 3c089e247bc..d4ce8383b69 100644 --- a/src/lib/unlang/edit.c +++ b/src/lib/unlang/edit.c @@ -560,9 +560,9 @@ static int apply_edits_to_leaf(request_t *request, edit_map_t *current, map_t co * Assign only ONE value. */ num = tmpl_num(map->lhs); - if (num != NUM_UNSPEC) { + if ((num != NUM_UNSPEC) && map->rhs) { if (tmpl_num(current->rhs.vpt) == NUM_ALL) { - REDEBUG("%s[%d] Cannot assign multiple attributes on the to one", MAP_INFO); + REDEBUG("%s[%d] Cannot assign to multiple attributes", MAP_INFO); return -1; }