]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix some lazily resolved symbol named
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 31 Oct 2012 21:56:26 +0000 (21:56 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 31 Oct 2012 21:56:26 +0000 (21:56 +0000)
src/modules/rlm_rest/rest.h
src/modules/rlm_rest/rlm_rest.c

index 6a24dc4631b411b7b4d96b7acef50eb728e3fc26..7befe58285b9cba858e0077a141d9fbeae849cc6 100644 (file)
@@ -91,7 +91,7 @@ extern const FR_NAME_NUMBER http_auth_table[];
 
 extern const FR_NAME_NUMBER http_method_table[];
 
-extern const FR_NAME_NUMBER http_body_table[];
+extern const FR_NAME_NUMBER http_body_type_table[];
 
 extern const FR_NAME_NUMBER http_content_header_table[];
 
index 1af8c2e1e468241cbb0da5e9a88f713ad6fa555d..44bf7caf23b8c49bdb3ea862c5b6cc3f64809e53 100644 (file)
@@ -190,7 +190,7 @@ static int parse_sub_section(CONF_SECTION *parent,
        config->method = fr_str2int(http_method_table, config->method_str,
                                    HTTP_METHOD_CUSTOM);
 
-       config->body = fr_str2int(http_body_table, config->body_str,
+       config->body = fr_str2int(http_body_type_table, config->body_str,
                                  HTTP_BODY_UNKNOWN);
 
        if (config->body == HTTP_BODY_UNKNOWN) {