]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Typo
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 17 Nov 2022 18:10:32 +0000 (12:10 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 17 Nov 2022 18:10:32 +0000 (12:10 -0600)
src/lib/unlang/xlat_eval.c

index 23189436c6f8e7474c9b296f881db8b07d711a0c..c4ad72f2b8c9f8090160e18bd47930b9a705f302 100644 (file)
@@ -510,7 +510,7 @@ bool xlat_process_return(request_t *request, xlat_t const *func, FR_DLIST_HEAD(f
         *  Nothing to validate.  We don't yet enforce that functions
         *  must return at least one instance of their type.
         */
-       if (!pos | fr_type_is_void(func->return_type)) return true;
+       if (!pos || fr_type_is_void(func->return_type)) return true;
 
        if (fr_type_is_null(func->return_type)) {
                /* Dynamic expansion to get the right name */