]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Whitespace
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 10 Oct 2024 19:14:42 +0000 (15:14 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 10 Oct 2024 22:25:18 +0000 (18:25 -0400)
src/lib/util/dict.h
src/lib/util/dict_ext.c
src/lib/util/dict_tokenize.c

index 0488c783e2762fe069bc7bd8e1abb40f3641cc96..9cc5efd2a443122ce795d1c4f72a931565e80131 100644 (file)
@@ -358,10 +358,10 @@ typedef struct fr_dict_gctx_s fr_dict_gctx_t;
 /*
  *     Dictionary constants
  */
-#define FR_DICT_PROTO_MAX_NAME_LEN     (128)                   //!< Maximum length of a protocol name.
-#define FR_DICT_ENUM_MAX_NAME_LEN      (128)                   //!< Maximum length of a enum value.
-#define FR_DICT_VENDOR_MAX_NAME_LEN    (128)                   //!< Maximum length of a vendor name.
-#define FR_DICT_ATTR_MAX_NAME_LEN      (128)                   //!< Maximum length of a attribute name.
+#define FR_DICT_PROTO_MAX_NAME_LEN     (128)                           //!< Maximum length of a protocol name.
+#define FR_DICT_ENUM_MAX_NAME_LEN      (128)                           //!< Maximum length of a enum value.
+#define FR_DICT_VENDOR_MAX_NAME_LEN    (128)                           //!< Maximum length of a vendor name.
+#define FR_DICT_ATTR_MAX_NAME_LEN      (128)                           //!< Maximum length of a attribute name.
 
 /** Maximum level of TLV nesting allowed
  */
index f3c2444b30af84446076a2d11a49f23d3b549653..16fec42b84a371d4bae555298b0c3990d898088e 100644 (file)
@@ -167,11 +167,11 @@ fr_ext_t const fr_dict_attr_ext_def = {
                                                        .min = sizeof(char),
                                                        .has_hdr = true,
                                                        .fixup = fr_dict_attr_ext_name_fixup,
-                                                       .can_copy = false,      /* Name may change, and we can only set it once */
+                                                       .can_copy = false,              /* Name may change, and we can only set it once */
                                                },
                [FR_DICT_ATTR_EXT_CHILDREN]     = {
                                                        .min = sizeof(fr_dict_attr_ext_children_t),
-                                                       .can_copy = false,      /* Limitation in hashing scheme we use */
+                                                       .can_copy = false,              /* Limitation in hashing scheme we use */
                                                },
                [FR_DICT_ATTR_EXT_REF]          = {
                                                        .min = sizeof(fr_dict_attr_ext_ref_t),
@@ -185,7 +185,7 @@ fr_ext_t const fr_dict_attr_ext_def = {
                [FR_DICT_ATTR_EXT_DA_STACK]     = {
                                                        .min = sizeof(fr_dict_attr_ext_da_stack_t),
                                                        .has_hdr = true,
-                                                       .can_copy = false       /* Reinitialised for each new attribute */
+                                                       .can_copy = false               /* Reinitialised for each new attribute */
                                                },
                [FR_DICT_ATTR_EXT_ENUMV]        = {
                                                        .min = sizeof(fr_dict_attr_ext_enumv_t),
@@ -194,12 +194,12 @@ fr_ext_t const fr_dict_attr_ext_def = {
                                                },
                [FR_DICT_ATTR_EXT_NAMESPACE]    = {
                                                        .min = sizeof(fr_dict_attr_ext_namespace_t),
-                                                       .can_copy = false,      /* Same limitation as ext_children */
+                                                       .can_copy = false,              /* Same limitation as ext_children */
                                                },
                [FR_DICT_ATTR_EXT_PROTOCOL_SPECIFIC] = {
-                                                       .min = FR_EXT_ALIGNMENT,  /* allow for one byte of protocol stuff */
-                                                       .has_hdr = true,        /* variable sized */
-                                                       .can_copy = false       /* only the protocol can copy it */
+                                                       .min = FR_EXT_ALIGNMENT,        /* allow for one byte of protocol stuff */
+                                                       .has_hdr = true,                /* variable sized */
+                                                       .can_copy = false               /* only the protocol can copy it */
                                                },
                [FR_DICT_ATTR_EXT_MAX]          = {}
        }
@@ -231,4 +231,3 @@ fr_ext_t const fr_dict_enum_ext_def = {
                [FR_DICT_ENUM_EXT_MAX]          = {}
        }
 };
-
index 6340eaf7805755744d3df78c26bb74b282f80c19..e0dd41378521ed92bf0d5e86bbdf6de21bd1cb2c 100644 (file)
@@ -829,7 +829,7 @@ static int dict_process_ref(dict_tokenize_ctx_t *ctx, fr_dict_attr_t const *pare
        add_fixup:
                if (dict_fixup_group(&ctx->fixup, CURRENT_FRAME(ctx)->filename, CURRENT_FRAME(ctx)->line,
                                     UNCONST(fr_dict_attr_t *, da), ref) < 0) goto fail;
-                       
+
                talloc_free(ref);
                return 0;
        }