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
This commit is contained in:
Kevin P. Fleming
2009-06-15 17:34:30 +00:00
parent 4379249674
commit 82fb56886e
35 changed files with 73 additions and 73 deletions

View File

@@ -540,7 +540,7 @@ static void *caldav_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_caldav to load\n");
return NULL;
}
@@ -575,7 +575,7 @@ static void *caldav_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")) {