]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
verb last...
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 24 May 2020 15:02:02 +0000 (10:02 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 24 May 2020 15:02:02 +0000 (10:02 -0500)
src/lib/util/value.c
src/lib/util/value.h

index 2bac3588b1ac8d4a364f1c21245d3bcd9229567e..6c9e09f929803c97f6c2cda7ac1a39c3a1c8c3d2 100644 (file)
@@ -1678,7 +1678,7 @@ static inline int fr_value_box_cast_to_strvalue(TALLOC_CTX *ctx, fr_value_box_t
                                }
                        }
 
-                       if (fr_value_box_append_bstr(ctx, dst, n->vb_strvalue, n->vb_length, n->tainted) < 0) return -1;
+                       if (fr_value_box_bstr_append(ctx, dst, n->vb_strvalue, n->vb_length, n->tainted) < 0) return -1;
 
                        if (n != vb) talloc_free(n);
                        fr_cursor_next(&cursor);
@@ -3593,7 +3593,7 @@ int fr_value_box_bstrnsteal(TALLOC_CTX *ctx, fr_value_box_t *dst, fr_dict_attr_t
  *     - 0 on success.
  *     - -1 on failure.
  */
-int fr_value_box_append_bstr(TALLOC_CTX *ctx, fr_value_box_t *dst, char const *src, size_t len, bool tainted)
+int fr_value_box_bstr_append(TALLOC_CTX *ctx, fr_value_box_t *dst, char const *src, size_t len, bool tainted)
 {
        char *ptr, *nptr;
        size_t nlen;
@@ -4913,7 +4913,7 @@ int fr_value_box_list_concat(TALLOC_CTX *ctx,
                 *      Append the next value
                 */
                if (type == FR_TYPE_STRING) {
-                       if (fr_value_box_append_bstr(ctx, out, n->vb_strvalue, n->vb_length, n->tainted) < 0) goto error;
+                       if (fr_value_box_bstr_append(ctx, out, n->vb_strvalue, n->vb_length, n->tainted) < 0) goto error;
                } else {
                        if (fr_value_box_append_mem(ctx, out, n->vb_octets, n->vb_length, n->tainted) < 0) goto error;
                }
index 73e2b7467304c56d4a337cdcc28800b1f58b23a3..03ff79bed4c16901187c3a61a4d9c7e980b1cb52 100644 (file)
@@ -612,7 +612,7 @@ int         fr_value_box_bstrsteal(TALLOC_CTX *ctx, fr_value_box_t *dst, fr_dict_attr_t
 int            fr_value_box_bstrnsteal(TALLOC_CTX *ctx, fr_value_box_t *dst, fr_dict_attr_t const *enumv,
                                        char **src, size_t inlen, bool tainted);
 
-int            fr_value_box_append_bstr(TALLOC_CTX *ctx, fr_value_box_t *dst, char const *src, size_t len, bool tainted);
+int            fr_value_box_bstr_append(TALLOC_CTX *ctx, fr_value_box_t *dst, char const *src, size_t len, bool tainted);
 
 void           fr_value_box_strdup_shallow(fr_value_box_t *dst, fr_dict_attr_t const *enumv,
                                            char const *src, bool tainted);