diff options
author | Hans Nilsson <[email protected]> | 2013-10-16 15:57:33 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2013-10-28 16:48:57 +0100 |
commit | 0f89fe517d751e38ebc3201193d53934aed4413b (patch) | |
tree | 32b6d1bd39a459460556d72da383ea30164ba439 | |
parent | f826e32a196a11729350aa4e27c1fee7a918876b (diff) | |
download | otp-0f89fe517d751e38ebc3201193d53934aed4413b.tar.gz otp-0f89fe517d751e38ebc3201193d53934aed4413b.tar.bz2 otp-0f89fe517d751e38ebc3201193d53934aed4413b.zip |
eldap: Minor change (error code)
-rw-r--r-- | lib/eldap/src/eldap.erl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/eldap/src/eldap.erl b/lib/eldap/src/eldap.erl index 5a6813173f..27246996e3 100644 --- a/lib/eldap/src/eldap.erl +++ b/lib/eldap/src/eldap.erl @@ -500,11 +500,9 @@ exec_extended_req_reply(Data, {ok,Msg}) when {extendedResp, Result} -> case Result#'ExtendedResponse'.resultCode of success -> - io:format('eldap: exec_start_tls = ~p~n',[success]), {ok,Data}; - Error -> - io:format('eldap: exec_start_tls = ~p~n',[Error]), - {error, Error} + Error -> + {error, {response,Error}} end; Other -> {error, Other} end; |