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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@388477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Richard Mudgett
2013-05-13 14:24:47 +00:00
parent af1711d17e
commit b7da14ecf4

View File

@@ -3465,7 +3465,7 @@ static int action_sendtext(struct mansession *s, const struct message *m)
astman_send_error(s, m, "Failure");
}
return res;
return 0;
}
/*! \brief action_redirect: The redirect manager command */