aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2014-12-05 15:59:39 +0100
committerHans Nilsson <[email protected]>2014-12-17 11:56:33 +0100
commitb6b91e0c32f9cf3060453d05727c687722c02e38 (patch)
tree5f68860baffa6e43e01f0307dd17e7e9b4059451
parent4b59b6993b74d99de9af5e64d23237d3de90b571 (diff)
downloadotp-b6b91e0c32f9cf3060453d05727c687722c02e38.tar.gz
otp-b6b91e0c32f9cf3060453d05727c687722c02e38.tar.bz2
otp-b6b91e0c32f9cf3060453d05727c687722c02e38.zip
eldap: Makes close/1 return as documented.
-rw-r--r--lib/eldap/src/eldap.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/eldap/src/eldap.erl b/lib/eldap/src/eldap.erl
index 9f7aca287b..689600258f 100644
--- a/lib/eldap/src/eldap.erl
+++ b/lib/eldap/src/eldap.erl
@@ -107,7 +107,8 @@ getopts(Handle, OptNames) when is_pid(Handle), is_list(OptNames) ->
%%% --------------------------------------------------------------------
close(Handle) when is_pid(Handle) ->
- send(Handle, close).
+ send(Handle, close),
+ ok.
%%% --------------------------------------------------------------------
%%% Set who we should link ourselves to