[asterisk-commits] mmichelson: trunk r163198 - /trunk/main/features.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Dec 11 14:21:44 CST 2008


Author: mmichelson
Date: Thu Dec 11 14:21:44 2008
New Revision: 163198

URL: http://svn.digium.com/view/asterisk?view=rev&rev=163198
Log:
Add an appropriate goto if ast_call fails


Modified:
    trunk/main/features.c

Modified: trunk/main/features.c
URL: http://svn.digium.com/view/asterisk/trunk/main/features.c?view=diff&rev=163198&r1=163197&r2=163198
==============================================================================
--- trunk/main/features.c (original)
+++ trunk/main/features.c Thu Dec 11 14:21:44 2008
@@ -2033,6 +2033,7 @@
 		
 	if (ast_call(chan, data, timeout)) {
 		ast_log(LOG_NOTICE, "Unable to call channel %s/%s\n", type, (char *)data);
+		goto done;
 	}
 	
 	ast_indicate(caller, AST_CONTROL_RINGING);




More information about the asterisk-commits mailing list