[svn-commits] qwell: branch 1.4 r228079 - /branches/1.4/channels/chan_vpb.cc

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Nov 5 13:14:30 CST 2009


Author: qwell
Date: Thu Nov  5 13:14:25 2009
New Revision: 228079

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=228079
Log:
Fix crash on VPB exception when no hardware is present.

(closes issue #14970)
Reported by: tzafrir
Patches:
      vpb_exception.diff uploaded by tzafrir (license 46)
Tested by: markwaters

Modified:
    branches/1.4/channels/chan_vpb.cc

Modified: branches/1.4/channels/chan_vpb.cc
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/channels/chan_vpb.cc?view=diff&rev=228079&r1=228078&r2=228079
==============================================================================
--- branches/1.4/channels/chan_vpb.cc (original)
+++ branches/1.4/channels/chan_vpb.cc Thu Nov  5 13:14:25 2009
@@ -2718,7 +2718,7 @@
 	int num_cards = 0;
 	try {
 		num_cards = vpb_get_num_cards();
-	} catch (VpbException e) {
+	} catch (std::exception e) {
 		ast_log(LOG_ERROR, "No Voicetronix cards detected\n");
 		return AST_MODULE_LOAD_DECLINE;
 	}




More information about the svn-commits mailing list