[asterisk-commits] mjordan: branch 11 r371518 - /branches/11/res/res_xmpp.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Aug 17 20:59:54 CDT 2012
Author: mjordan
Date: Fri Aug 17 20:59:51 2012
New Revision: 371518
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=371518
Log:
Fix typo in JabberSend that looked for '2' instead of '@' in recipient argument
The summary says about all their is to say.
(closes issue ASTERISK-20239)
Reported by: Gregory Porras
Modified:
branches/11/res/res_xmpp.c
Modified: branches/11/res/res_xmpp.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/res/res_xmpp.c?view=diff&rev=371518&r1=371517&r2=371518
==============================================================================
--- branches/11/res/res_xmpp.c (original)
+++ branches/11/res/res_xmpp.c Fri Aug 17 20:59:51 2012
@@ -1748,7 +1748,7 @@
AST_STANDARD_APP_ARGS(args, s);
- if ((args.argc < 3) || ast_strlen_zero(args.message) || !strchr(args.recipient, '2')) {
+ if ((args.argc < 3) || ast_strlen_zero(args.message) || !strchr(args.recipient, '@')) {
ast_log(LOG_WARNING, "%s requires arguments (account,jid,message)\n", app_ajisend);
return -1;
}
More information about the asterisk-commits
mailing list