[asterisk-commits] rmudgett: branch 11 r388478 - in /branches/11: ./ main/manager.c

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


Author: rmudgett
Date: Mon May 13 09:26:57 2013
New Revision: 388478

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

Modified:
    branches/11/   (props changed)
    branches/11/main/manager.c

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

Modified: branches/11/main/manager.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/main/manager.c?view=diff&rev=388478&r1=388477&r2=388478
==============================================================================
--- branches/11/main/manager.c (original)
+++ branches/11/main/manager.c Mon May 13 09:26:57 2013
@@ -3700,7 +3700,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