From: Arran Cudbard-Bell Date: Tue, 12 Mar 2013 01:25:05 +0000 (-0400) Subject: Should be inst not data X-Git-Tag: release_3_0_0_beta1~768 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=daa3798d6302cc706fbb4024bc558514df752d21;p=thirdparty%2Ffreeradius-server.git Should be inst not data --- diff --git a/src/modules/rlm_example/rlm_example.c b/src/modules/rlm_example/rlm_example.c index 2162aea9a2f..758a4601b42 100644 --- a/src/modules/rlm_example/rlm_example.c +++ b/src/modules/rlm_example/rlm_example.c @@ -72,19 +72,19 @@ static const CONF_PARSER module_config[] = { */ static int example_instantiate(CONF_SECTION *conf, void **instance) { - rlm_example_t *data; + rlm_example_t *inst; /* * Set up a storage area for instance data */ - *instance = data = talloc_zero(conf, rlm_example_t); - if (!data) return -1; + *instance = inst = talloc_zero(conf, rlm_example_t); + if (!inst) return -1; /* * If the configuration parameters can't be parsed, then * fail. */ - if (cf_section_parse(conf, data, module_config) < 0) { + if (cf_section_parse(conf, inst, module_config) < 0) { return -1; }