aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_jabber.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-03 02:51:08 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-03 02:51:08 +0000
commit021f32c4b3a21527ed6ddcef888a0940378c3c19 (patch)
treea14f1e35fffcad816e5467c2ba4b07beeb31ca88 /res/res_jabber.c
parent7861ca021d11b59ce765d3c00bee30e89842de38 (diff)
Correct an issue where the wrong type was being used to start sasl.
Pointed out by and patch provided by mog. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72987 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_jabber.c')
-rw-r--r--res/res_jabber.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_jabber.c b/res/res_jabber.c
index 78ff7d9a6..2520f02ab 100644
--- a/res/res_jabber.c
+++ b/res/res_jabber.c
@@ -523,7 +523,7 @@ static int aji_start_sasl(iksparser *prs, enum ikssasltype type, char *username,
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) {