summaryrefslogtreecommitdiff
path: root/res/res_jabber.c
diff options
context:
space:
mode:
authorJason Parker <jparker@digium.com>2007-07-03 02:51:08 +0000
committerJason Parker <jparker@digium.com>2007-07-03 02:51:08 +0000
commit685c48b19c5a843dc66ae4292075d61676d117ee (patch)
treea14f1e35fffcad816e5467c2ba4b07beeb31ca88 /res/res_jabber.c
parentd2a85e5f64512f1d8c77b68990f2fb1310be5520 (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: https://origsvn.digium.com/svn/asterisk/trunk@72987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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) {