[svn-commits] seanbright: branch 1.6.2 r196991 - in /branches/1.6.2: ./ channels/chan_alsa.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed May 27 08:06:14 CDT 2009


Author: seanbright
Date: Wed May 27 08:06:10 2009
New Revision: 196991

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=196991
Log:
Merged revisions 196988 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r196988 | seanbright | 2009-05-27 09:02:54 -0400 (Wed, 27 May 2009) | 9 lines
  
  Display an error message when chan_alsa fails to load due to a missing
  or inaccessible configuration file.  Small modification to the patch by
  me.
  
  (closes issue #14760)
  Reported by: Nick_Lewis
  Patches:
        chan_alsa.c-confload.patch uploaded by Nick (license 657)
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/channels/chan_alsa.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.2/channels/chan_alsa.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.2/channels/chan_alsa.c?view=diff&rev=196991&r1=196990&r2=196991
==============================================================================
--- branches/1.6.2/channels/chan_alsa.c (original)
+++ branches/1.6.2/channels/chan_alsa.c Wed May 27 08:06:10 2009
@@ -863,6 +863,7 @@
 	strcpy(mohinterpret, "default");
 
 	if (!(cfg = ast_config_load(config, config_flags))) {
+		ast_log(LOG_ERROR, "Unable to read ALSA configuration file %s.  Aborting.\n", config);
 		return AST_MODULE_LOAD_DECLINE;
 	} else if (cfg == CONFIG_STATUS_FILEINVALID) {
 		ast_log(LOG_ERROR, "%s is in an invalid format.  Aborting.\n", config);




More information about the svn-commits mailing list