diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2009-06-15 17:34:30 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2009-06-15 17:34:30 +0000 |
commit | 82fb56886e20e6ed5e97058e68fb32c88029f060 (patch) | |
tree | fe279b2c51ac4293291cc172302c80d3d642c06f /res/res_calendar_exchange.c | |
parent | 43792496747f84ee565c35ef6e0262192e0663cb (diff) |
More 'static' qualifiers on module global variables.
The 'pglobal' tool is quite handy indeed :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@200620 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_calendar_exchange.c')
-rw-r--r-- | res/res_calendar_exchange.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_calendar_exchange.c b/res/res_calendar_exchange.c index ec539e8e2..0b4e661e2 100644 --- a/res/res_calendar_exchange.c +++ b/res/res_calendar_exchange.c @@ -623,7 +623,7 @@ static void *exchangecal_load_calendar(void *void_data) struct ast_calendar *cal = void_data; ast_mutex_t refreshlock; - if (!(cal && calendar_config)) { + if (!(cal && ast_calendar_config)) { ast_log(LOG_ERROR, "You must enable calendar support for res_exchangecal to load\n"); return NULL; } @@ -658,7 +658,7 @@ static void *exchangecal_load_calendar(void *void_data) return NULL; } - for (v = ast_variable_browse(calendar_config, cal->name); v; v = v->next) { + for (v = ast_variable_browse(ast_calendar_config, cal->name); v; v = v->next) { if (!strcasecmp(v->name, "url")) { ast_string_field_set(pvt, url, v->value); } else if (!strcasecmp(v->name, "user")) { |