]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Logic inversion
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 15 Mar 2021 21:40:11 +0000 (21:40 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 15 Mar 2021 21:40:11 +0000 (21:40 +0000)
src/lib/unlang/xlat_eval.c

index c2ee38da399dc18bca67f5b3ff788d1b9b2aa5d8..7fc8bee928bd99159472556dce81a6edaaf7fb2e 100644 (file)
@@ -247,7 +247,7 @@ do { \
        } \
 } while (0)
 
-       if (!fr_dlist_empty(list)) {
+       if (fr_dlist_empty(list)) {
                if (arg->required) {
                        RPEDEBUG("Missing required argument %u", arg_num);
                        return XLAT_ACTION_FAIL;