From: Arran Cudbard-Bell Date: Thu, 17 Nov 2022 18:10:32 +0000 (-0600) Subject: Typo X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=227ca26ff7f58f642714d586f35bfec9aec53738;p=thirdparty%2Ffreeradius-server.git Typo --- diff --git a/src/lib/unlang/xlat_eval.c b/src/lib/unlang/xlat_eval.c index 23189436c6f..c4ad72f2b8c 100644 --- a/src/lib/unlang/xlat_eval.c +++ b/src/lib/unlang/xlat_eval.c @@ -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 */