diff options
author | Hans Nilsson <[email protected]> | 2014-12-19 10:19:50 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2014-12-19 10:19:50 +0100 |
commit | 5d7253640668e3a653a7053da3bf6ca69e47eb17 (patch) | |
tree | 0ab11325db343f8cf5d22eda2ae9c91747859534 /lib/eldap/src/eldap.erl | |
parent | 49cf869191975c59cdc41a3fa2658bc852f6475f (diff) | |
parent | 09787bd33bb45392d0355c77788c642ae5778f1a (diff) | |
download | otp-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.erl | 3 |
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 |