mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 22:30:28 +00:00
remove extraneous message
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
2005-11-07 Kevin P. Fleming <kpfleming@digium.com>
|
2005-11-07 Kevin P. Fleming <kpfleming@digium.com>
|
||||||
|
|
||||||
|
* config.c (config_text_file_load): don't generate log message when stat() fails
|
||||||
|
|
||||||
* many files: clean up application documentation to not refer to return values, since they cannot be used in the dialplan (work done by Neil Lewis)
|
* many files: clean up application documentation to not refer to return values, since they cannot be used in the dialplan (work done by Neil Lewis)
|
||||||
|
|
||||||
2005-11-06 Russell Bryant <russell@digium.com>
|
2005-11-06 Russell Bryant <russell@digium.com>
|
||||||
|
|||||||
5
config.c
5
config.c
@@ -572,10 +572,9 @@ static struct ast_config *config_text_file_load(const char *database, const char
|
|||||||
ast_copy_string(fn, globbuf.gl_pathv[i], sizeof(fn));
|
ast_copy_string(fn, globbuf.gl_pathv[i], sizeof(fn));
|
||||||
#endif
|
#endif
|
||||||
do {
|
do {
|
||||||
if (stat(fn, &statbuf)) {
|
if (stat(fn, &statbuf))
|
||||||
ast_log(LOG_WARNING, "Cannot stat() '%s', ignoring\n", fn);
|
|
||||||
continue;
|
continue;
|
||||||
}
|
|
||||||
if (!S_ISREG(statbuf.st_mode)) {
|
if (!S_ISREG(statbuf.st_mode)) {
|
||||||
ast_log(LOG_WARNING, "'%s' is not a regular file, ignoring\n", fn);
|
ast_log(LOG_WARNING, "'%s' is not a regular file, ignoring\n", fn);
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user