Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv13072
Modified Files:
ChangeLog config.c
Log Message:
remove extraneous message
Index: ChangeLog
===================================================================
RCS file: /usr/cvsroot/asterisk/ChangeLog,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- ChangeLog 7 Nov 2005 22:01:21 -0000 1.40
+++ ChangeLog 7 Nov 2005 22:05:31 -0000 1.41
@@ -1,5 +1,7 @@
2005-11-07 Kevin P. Fleming <[EMAIL PROTECTED]>
+ * 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)
2005-11-06 Russell Bryant <[EMAIL PROTECTED]>
Index: config.c
===================================================================
RCS file: /usr/cvsroot/asterisk/config.c,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- config.c 1 Nov 2005 21:53:29 -0000 1.82
+++ config.c 7 Nov 2005 22:05:31 -0000 1.83
@@ -572,10 +572,9 @@
ast_copy_string(fn, globbuf.gl_pathv[i],
sizeof(fn));
#endif
do {
- if (stat(fn, &statbuf)) {
- ast_log(LOG_WARNING, "Cannot stat() '%s', ignoring\n",
fn);
+ if (stat(fn, &statbuf))
continue;
- }
+
if (!S_ISREG(statbuf.st_mode)) {
ast_log(LOG_WARNING, "'%s' is not a regular file,
ignoring\n", fn);
continue;
_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs