[svn-commits] russell: trunk r190993 - /trunk/main/indications.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Apr 29 03:58:43 CDT 2009
Author: russell
Date: Wed Apr 29 03:58:39 2009
New Revision: 190993
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=190993
Log:
Log an error message if indications.conf is not found.
(closes issue #14990)
Reported by: tzafrir
Patches:
indications_err.diff uploaded by tzafrir (license 46)
Modified:
trunk/main/indications.c
Modified: trunk/main/indications.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/main/indications.c?view=diff&rev=190993&r1=190992&r2=190993
==============================================================================
--- trunk/main/indications.c (original)
+++ trunk/main/indications.c Wed Apr 29 03:58:39 2009
@@ -1038,6 +1038,7 @@
cfg = ast_config_load2(config, "indications", config_flags);
if (cfg == CONFIG_STATUS_FILEMISSING || cfg == CONFIG_STATUS_FILEINVALID) {
+ ast_log(LOG_ERROR, "Can't find indications config file %s.\n", config);
return -1;
} else if (cfg == CONFIG_STATUS_FILEUNCHANGED) {
return 0;
More information about the svn-commits
mailing list