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
This commit is contained in:
Jason Parker
2007-07-03 02:51:08 +00:00
parent d2a85e5f64
commit 685c48b19c

View File

@@ -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) {