From: Arran Cudbard-Bell Date: Wed, 31 Oct 2012 21:56:26 +0000 (+0000) Subject: Fix some lazily resolved symbol named X-Git-Tag: release_3_0_0_beta1~1622 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0f338cdf171c805801ab1cc66150793f98fe651;p=thirdparty%2Ffreeradius-server.git Fix some lazily resolved symbol named --- diff --git a/src/modules/rlm_rest/rest.h b/src/modules/rlm_rest/rest.h index 6a24dc4631b..7befe58285b 100644 --- a/src/modules/rlm_rest/rest.h +++ b/src/modules/rlm_rest/rest.h @@ -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[]; diff --git a/src/modules/rlm_rest/rlm_rest.c b/src/modules/rlm_rest/rlm_rest.c index 1af8c2e1e46..44bf7caf23b 100644 --- a/src/modules/rlm_rest/rlm_rest.c +++ b/src/modules/rlm_rest/rlm_rest.c @@ -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) {