aboutsummaryrefslogtreecommitdiffstats
path: root/lib/eldap
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2016-02-25 12:06:01 +0100
committerHans Nilsson <[email protected]>2016-02-25 15:59:42 +0100
commit326e73015da687053864af4d2e9e5227259aefd4 (patch)
tree33b8dddff0b4d05f8be5cc626212cd7bc6cec9b8 /lib/eldap
parent93d2038e91854d4bc4fd75dac7005719a79949cd (diff)
downloadotp-326e73015da687053864af4d2e9e5227259aefd4.tar.gz
otp-326e73015da687053864af4d2e9e5227259aefd4.tar.bz2
otp-326e73015da687053864af4d2e9e5227259aefd4.zip
eldap: fix error found by dialyzer
Diffstat (limited to 'lib/eldap')
-rw-r--r--lib/eldap/src/eldap.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/eldap/src/eldap.erl b/lib/eldap/src/eldap.erl
index 3ab96ffeb5..0c03021bd0 100644
--- a/lib/eldap/src/eldap.erl
+++ b/lib/eldap/src/eldap.erl
@@ -697,7 +697,7 @@ exec_simple_bind_reply(Data, {ok,Msg}) when
{bindResponse, Result} ->
case Result#'BindResponse'.resultCode of
success -> {ok,Data};
- referral -> {{ok, {referral,Msg#'BindResponse'.referral}}, Data};
+ referral -> {{ok, {referral,Result#'BindResponse'.referral}}, Data};
Error -> {error, Error}
end;
Other -> {error, Other}