[asterisk-commits] rmudgett: trunk r388479 - in /trunk: ./ main/manager.c

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


Author: rmudgett
Date: Mon May 13 09:28:50 2013
New Revision: 388479

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=388479
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
........

Merged revisions 388477 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 388478 from http://svn.asterisk.org/svn/asterisk/branches/11

Modified:
    trunk/   (props changed)
    trunk/main/manager.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.

Modified: trunk/main/manager.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/manager.c?view=diff&rev=388479&r1=388478&r2=388479
==============================================================================
--- trunk/main/manager.c (original)
+++ trunk/main/manager.c Mon May 13 09:28:50 2013
@@ -3727,7 +3727,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