]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
warnings, so they don't eat the real error
authorAlan T. DeKok <aland@freeradius.org>
Wed, 14 Sep 2022 19:57:47 +0000 (15:57 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 15 Sep 2022 18:41:13 +0000 (14:41 -0400)
src/lib/unlang/edit.c

index a5e811a4bf92b8744a9b9796c4087d23d4929d14..c5bf9ec2b1239c355b88624ab469018ad24cce93 100644 (file)
@@ -95,7 +95,7 @@ static int tmpl_attr_from_result(TALLOC_CTX *ctx, edit_result_t *out, request_t
         *      Mash all of the results together.
         */
        if (fr_value_box_list_concat_in_place(box, box, &out->result, FR_TYPE_STRING, FR_VALUE_BOX_LIST_FREE, true, SIZE_MAX) < 0) {
-               RPEDEBUG("Failed converting result to string");
+               RWDEBUG("Failed converting result to string");
                return -1;
        }
 
@@ -148,7 +148,7 @@ static int tmpl_from_result(TALLOC_CTX *ctx, edit_result_t *out, fr_type_t type,
         *      string and then cast it to the correct data type.
         */
        if (fr_value_box_list_concat_in_place(box, box, &out->result, FR_TYPE_STRING, FR_VALUE_BOX_LIST_FREE, true, SIZE_MAX) < 0) {
-               RPEDEBUG("Failed converting result to string");
+               RWDEBUG("Failed converting result to string");
                return -1;
        }
 
@@ -261,7 +261,7 @@ static int apply_edits_to_list(request_t *request, unlang_frame_state_edit_t *st
                         *      Mash all of the results together.
                         */
                        if (fr_value_box_list_concat_in_place(box, box, &current->rhs.result, FR_TYPE_STRING, FR_VALUE_BOX_LIST_FREE, true, SIZE_MAX) < 0) {
-                               RPEDEBUG("Failed converting result to string");
+                               RWDEBUG("Failed converting result to string");
                                return -1;
                        }
                }
@@ -482,7 +482,7 @@ static int apply_edits_to_leaf(request_t *request, unlang_frame_state_edit_t *st
 
                        if (fr_value_box_list_concat_in_place(box, box, &current->rhs.result, FR_TYPE_STRING,
                                                              FR_VALUE_BOX_LIST_FREE_BOX, true, 8192) < 0) {
-                               RPEDEBUG("Failed converting result to string");
+                               RWDEBUG("Failed converting result to string");
                                return -1;
                        }
                        box = fr_dlist_head(&current->rhs.result);