From 0f89fe517d751e38ebc3201193d53934aed4413b Mon Sep 17 00:00:00 2001 From: Hans Nilsson Date: Wed, 16 Oct 2013 15:57:33 +0200 Subject: eldap: Minor change (error code) --- lib/eldap/src/eldap.erl | 6 ++---- 1 file 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; -- cgit v1.2.3