[asterisk-commits] rmudgett: branch 1.8 r388477 - /branches/1.8/main/manager.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon May 13 09:24:49 CDT 2013


Author: rmudgett
Date: Mon May 13 09:24:47 2013
New Revision: 388477

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=388477
Log:
Fix SendText AMI action to never return non-zero.

AMI actions must never return non-zero unless they intend to close the AMI
connection.  (Which is almost never.)

(closes issue ASTERISK-21779)
Reported by: Paul Goldbaum

Modified:
    branches/1.8/main/manager.c

Modified: branches/1.8/main/manager.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/manager.c?view=diff&rev=388477&r1=388476&r2=388477
==============================================================================
--- branches/1.8/main/manager.c (original)
+++ branches/1.8/main/manager.c Mon May 13 09:24:47 2013
@@ -3465,7 +3465,7 @@
 		astman_send_error(s, m, "Failure");
 	}
 
-	return res;
+	return 0;
 }
 
 /*! \brief  action_redirect: The redirect manager command */




More information about the asterisk-commits mailing list