aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2013-10-16 15:57:33 +0200
committerHans Nilsson <[email protected]>2013-10-28 16:48:57 +0100
commit0f89fe517d751e38ebc3201193d53934aed4413b (patch)
tree32b6d1bd39a459460556d72da383ea30164ba439
parentf826e32a196a11729350aa4e27c1fee7a918876b (diff)
downloadotp-0f89fe517d751e38ebc3201193d53934aed4413b.tar.gz
otp-0f89fe517d751e38ebc3201193d53934aed4413b.tar.bz2
otp-0f89fe517d751e38ebc3201193d53934aed4413b.zip
eldap: Minor change (error code)
-rw-r--r--lib/eldap/src/eldap.erl6
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;