]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
WS
authorNick Porter <nick@portercomputing.co.uk>
Tue, 14 Feb 2023 17:01:27 +0000 (17:01 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Tue, 14 Feb 2023 17:25:54 +0000 (17:25 +0000)
src/modules/rlm_rest/rest.c
src/modules/rlm_rest/rest.h

index 56b91cc0515aca52ed46daa33266456cc333dacd..f7e55dde880cfceb0701ef38196a677db868978c 100644 (file)
@@ -1836,11 +1836,11 @@ int rest_request_config(module_ctx_t const *mctx, rlm_rest_section_t const *sect
                         */
                        if (!content_type_set && (strncasecmp(header->vp_strvalue, "content-type:", sizeof("content-type:") - 1) == 0)) {
                                char const *content_type = header->vp_strvalue + (sizeof("content-type:") - 1);
-                               
+
                                while (isspace((uint8_t)*content_type)) content_type++;
-                               
+
                                RDEBUG3("Request body content-type provided as \"%s\"", content_type);
-                               
+
                                content_type_set = true;
                        }
 
@@ -1863,7 +1863,7 @@ int rest_request_config(module_ctx_t const *mctx, rlm_rest_section_t const *sect
                                REDEBUG("Failed creating header");
                                return -1;
                        }
-                       
+
                        RDEBUG3("Request body content-type will be \"%s\"", content_type);
                }
        }
index 1cf5a76fed026877670addd4c7ef6c1d345ecb3a..0945c5db841e5ea2e1f31a1804175c4c378a8859 100644 (file)
@@ -206,7 +206,7 @@ typedef struct {
        rlm_rest_t const        *instance;      //!< This instance of rlm_rest.
        rlm_rest_section_t const *section;      //!< Section configuration.
 
-       request_t                       *request;       //!< Current request.
+       request_t               *request;       //!< Current request.
        read_state_t            state;          //!< Encoder state
 
        fr_dcursor_t            cursor;         //!< Cursor pointing to the start of the list to encode.
@@ -224,7 +224,7 @@ typedef struct {
        rlm_rest_t const        *instance;      //!< This instance of rlm_rest.
        rlm_rest_section_t const *section;      //!< Section configuration.
 
-       request_t                       *request;       //!< Current request.
+       request_t               *request;       //!< Current request.
        write_state_t           state;          //!< Decoder state.
 
        char                    *buffer;        //!< Raw incoming HTTP data.