diff options
author | Hans Nilsson <[email protected]> | 2016-02-25 12:06:01 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2016-02-25 15:59:42 +0100 |
commit | 326e73015da687053864af4d2e9e5227259aefd4 (patch) | |
tree | 33b8dddff0b4d05f8be5cc626212cd7bc6cec9b8 | |
parent | 93d2038e91854d4bc4fd75dac7005719a79949cd (diff) | |
download | otp-326e73015da687053864af4d2e9e5227259aefd4.tar.gz otp-326e73015da687053864af4d2e9e5227259aefd4.tar.bz2 otp-326e73015da687053864af4d2e9e5227259aefd4.zip |
eldap: fix error found by dialyzer
-rw-r--r-- | lib/eldap/src/eldap.erl | 2 |
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} |