aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-05-19 12:17:52 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-05-19 12:17:52 +0200
commit2212ff88eb1eb973c9150ea294fc6226d4fc9a10 (patch)
treeabe6e71a803d84768ab4f417f100463e2b1da122 /lib
parentc8cd6f30021d5f28e06d89a6acf834d770b9e972 (diff)
parent5fece0527f25a59a9e22e594d66aec8b21fab2dc (diff)
downloadotp-2212ff88eb1eb973c9150ea294fc6226d4fc9a10.tar.gz
otp-2212ff88eb1eb973c9150ea294fc6226d4fc9a10.tar.bz2
otp-2212ff88eb1eb973c9150ea294fc6226d4fc9a10.zip
Merge branch 'egil/odbc/fix-unmatched_return/OTP-13595'
* egil/odbc/fix-unmatched_return/OTP-13595: odbc: Fix unmatched return warnings
Diffstat (limited to 'lib')
-rw-r--r--lib/odbc/src/odbc.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/odbc/src/odbc.erl b/lib/odbc/src/odbc.erl
index 6b0ff27907..8871acd3f4 100644
--- a/lib/odbc/src/odbc.erl
+++ b/lib/odbc/src/odbc.erl
@@ -833,7 +833,7 @@ connect(ConnectionReferense, ConnectionStr, Options) ->
odbc_send(Socket, Msg) -> %% Note currently all allowed messages are lists
NewMsg = Msg ++ [?STR_TERMINATOR],
ok = gen_tcp:send(Socket, NewMsg),
- inet:setopts(Socket, [{active, once}]).
+ ok = inet:setopts(Socket, [{active, once}]).
%%--------------------------------------------------------------------------
connection_config(Key, Options) ->