aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/inet_sctp.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2013-05-02 09:37:58 +0200
committerHans Bolinder <[email protected]>2013-05-06 12:14:14 +0200
commit2324dec9fb37e301413c74acf1dce8ae3c29fc48 (patch)
tree7812afb9446ff1c7a8596a266a1cbd81eacc5f96 /lib/kernel/src/inet_sctp.erl
parent9e75f186c50071557d1846cf7267edfc942acdfb (diff)
downloadotp-2324dec9fb37e301413c74acf1dce8ae3c29fc48.tar.gz
otp-2324dec9fb37e301413c74acf1dce8ae3c29fc48.tar.bz2
otp-2324dec9fb37e301413c74acf1dce8ae3c29fc48.zip
Fix unmatched_returns warnings in Kernel
Diffstat (limited to 'lib/kernel/src/inet_sctp.erl')
-rw-r--r--lib/kernel/src/inet_sctp.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/src/inet_sctp.erl b/lib/kernel/src/inet_sctp.erl
index 2d799d79fa..93528d305d 100644
--- a/lib/kernel/src/inet_sctp.erl
+++ b/lib/kernel/src/inet_sctp.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2007-2011. All Rights Reserved.
+%% Copyright Ericsson AB 2007-2013. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -135,7 +135,7 @@ connect_get_assoc(S, Addr, Port, Active, Timer) ->
{sctp,S,Addr,Port,{_,#sctp_assoc_change{state=St}=Ev}} ->
case Active of
once ->
- prim_inet:setopt(S, active, once);
+ ok = prim_inet:setopt(S, active, once);
_ -> ok
end,
if St =:= comm_up ->