Merged revisions 158072 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

........
  r158072 | twilson | 2008-11-20 11:48:58 -0600 (Thu, 20 Nov 2008) | 2 lines
  
  Begin on a crusade to end trailing whitespace!
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158135 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Terry Wilson
2008-11-20 18:23:03 +00:00
parent a76dd11ef2
commit d0c238a8f8
10 changed files with 62 additions and 62 deletions

View File

@@ -57,7 +57,7 @@ static char *name = "cdr-custom";
static char master[PATH_MAX];
static char format[1024]="";
static int load_config(int reload)
static int load_config(int reload)
{
struct ast_config *cfg;
struct ast_variable *var;
@@ -80,7 +80,7 @@ static int load_config(int reload)
strcat(format,"\n");
snprintf(master, sizeof(master),"%s/%s/%s", ast_config_AST_LOG_DIR, name, var->name);
if (var->next) {
ast_log(LOG_NOTICE, "Sorry, only one mapping is supported at this time, mapping '%s' will be ignored at line %d.\n", var->next->name, var->next->lineno);
ast_log(LOG_NOTICE, "Sorry, only one mapping is supported at this time, mapping '%s' will be ignored at line %d.\n", var->next->name, var->next->lineno);
break;
}
} else
@@ -96,7 +96,7 @@ static int load_config(int reload)
ast_log(LOG_WARNING, "Failed to load configuration file. Module not activated.\n");
}
ast_mutex_unlock(&lock);
return res;
}
@@ -153,7 +153,7 @@ static int load_module(void)
if (res)
ast_log(LOG_ERROR, "Unable to register custom CDR handling\n");
return res;
} else
} else
return AST_MODULE_LOAD_DECLINE;
}