]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
typo. add missing !
authorAlan T. DeKok <aland@freeradius.org>
Sun, 6 Dec 2020 02:46:30 +0000 (21:46 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 6 Dec 2020 02:48:04 +0000 (21:48 -0500)
src/lib/util/ext.c

index df4cef0e5429588d741632eb33a5e81ab3cc48d6..5249df3a73b7e3c338a696b2844205149989ff6f 100644 (file)
@@ -251,7 +251,7 @@ int fr_ext_copy_all(fr_ext_t const *def, TALLOC_CTX **chunk_dst, TALLOC_CTX cons
        for (i = 0; i < def->max; i++) {
                fr_ext_info_t const *info = &def->info[i];
 
-               if (!ext_src_offsets[i] || ext_dst_offsets[i] || !info->can_copy) {
+               if (!ext_src_offsets[i] || !ext_dst_offsets[i] || !info->can_copy) {
                no_copy:
                        ext_copied[i] = false;
                        continue;