[asterisk-commits] mjordan: trunk r371519 - in /trunk: ./	res/res_xmpp.c
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Fri Aug 17 21:00:45 CDT 2012
    
    
  
Author: mjordan
Date: Fri Aug 17 21:00:41 2012
New Revision: 371519
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=371519
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
........
Merged revisions 371518 from http://svn.asterisk.org/svn/asterisk/branches/11
Modified:
    trunk/   (props changed)
    trunk/res/res_xmpp.c
Propchange: trunk/
------------------------------------------------------------------------------
--- branch-11-merged (original)
+++ branch-11-merged Fri Aug 17 21:00:41 2012
@@ -1,1 +1,1 @@
-/branches/11:1-371121,371143,371146,371200,371227,371258,371272,371295,371324,371355,371382,371395,371399,371425-371426,371438,371482,371492,371507,371516
+/branches/11:1-371121,371143,371146,371200,371227,371258,371272,371295,371324,371355,371382,371395,371399,371425-371426,371438,371482,371492,371507,371516,371518
Modified: trunk/res/res_xmpp.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_xmpp.c?view=diff&rev=371519&r1=371518&r2=371519
==============================================================================
--- trunk/res/res_xmpp.c (original)
+++ trunk/res/res_xmpp.c Fri Aug 17 21:00:41 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