aboutsummaryrefslogtreecommitdiffstats
path: root/lib/eldap/src/eldap.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2014-12-19 10:19:50 +0100
committerHans Nilsson <[email protected]>2014-12-19 10:19:50 +0100
commit5d7253640668e3a653a7053da3bf6ca69e47eb17 (patch)
tree0ab11325db343f8cf5d22eda2ae9c91747859534 /lib/eldap/src/eldap.erl
parent49cf869191975c59cdc41a3fa2658bc852f6475f (diff)
parent09787bd33bb45392d0355c77788c642ae5778f1a (diff)
downloadotp-5d7253640668e3a653a7053da3bf6ca69e47eb17.tar.gz
otp-5d7253640668e3a653a7053da3bf6ca69e47eb17.tar.bz2
otp-5d7253640668e3a653a7053da3bf6ca69e47eb17.zip
Merge branch 'hans/eldap/bad_return_close/OTP-12349' into maint
* hans/eldap/bad_return_close/OTP-12349: eldap: Remove trailing white space. eldap: Test cases for a few return values (open, close) eldap: updated eldap:close in tests eldap: Makes close/1 return as documented.
Diffstat (limited to 'lib/eldap/src/eldap.erl')
-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