mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
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:
@@ -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")) {
|
||||
|
Reference in New Issue
Block a user