[asterisk-commits] qwell: trunk r72987 - /trunk/res/res_jabber.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jul 2 21:51:09 CDT 2007


Author: qwell
Date: Mon Jul  2 21:51:08 2007
New Revision: 72987

URL: http://svn.digium.com/view/asterisk?view=rev&rev=72987
Log:
Correct an issue where the wrong type was being used to start sasl.

Pointed out by and patch provided by mog.

Modified:
    trunk/res/res_jabber.c

Modified: trunk/res/res_jabber.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_jabber.c?view=diff&rev=72987&r1=72986&r2=72987
==============================================================================
--- trunk/res/res_jabber.c (original)
+++ trunk/res/res_jabber.c Mon Jul  2 21:51:08 2007
@@ -523,7 +523,7 @@
 	char *base64;
 
 	if (type == IKS_STREAM_SASL_MD5)
-		return iks_start_sasl(prs, type, username, pass);
+		return iks_start_sasl(prs, IKS_SASL_DIGEST_MD5, username, pass);
 
 	x = iks_new("auth"); 
 	if (!x) {




More information about the asterisk-commits mailing list