summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2014-03-14 17:26:10 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2014-04-16 17:11:38 +0200
commit27f968afd203be51a184a0b18c0f531559ac7a15 (patch)
treed55e389ec119dddf6d686f27296327599e235778
parent390a36ea34bbff271169994a5eea6faec41c9d26 (diff)
Call correct SASL helper in reds_handle_auth_sasl_step
sasl_handle_auth_start() was called instead of reds_sasl_handle_auth_step()
-rw-r--r--server/reds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/reds.c b/server/reds.c
index 4484839d..2c437ac5 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -1908,7 +1908,7 @@ static void reds_handle_auth_sasl_step(void *opaque)
RedLinkInfo *link = (RedLinkInfo *)opaque;
RedsSaslError status;
- status = reds_sasl_handle_auth_start(link->stream, reds_handle_auth_sasl_steplen, link);
+ status = reds_sasl_handle_auth_step(link->stream, reds_handle_auth_sasl_steplen, link);
if (status == REDS_SASL_ERROR_OK) {
reds_handle_link(link);
} else if (status != REDS_SASL_ERROR_CONTINUE) {