aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2012-01-24 12:48:00 +0100
committerHans Bolinder <[email protected]>2012-01-24 12:48:00 +0100
commit36f1a3fda344bc3cf32fb1616b55c254ec7aa6e7 (patch)
tree346b3c00311d7c904625227273619951bb8b2dd8
parent2e76cc5e704bee90f114824019253be5f33766af (diff)
parent22478c78231286957c330d3151828ab75a09dcf8 (diff)
downloadotp-36f1a3fda344bc3cf32fb1616b55c254ec7aa6e7.tar.gz
otp-36f1a3fda344bc3cf32fb1616b55c254ec7aa6e7.tar.bz2
otp-36f1a3fda344bc3cf32fb1616b55c254ec7aa6e7.zip
Merge branch 'hb/kernel/correct_contracts/OTP-9874' into maint
* hb/kernel/correct_contracts/OTP-9874: Correct two contracts in gen_sctp.erl
-rw-r--r--lib/kernel/src/gen_sctp.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kernel/src/gen_sctp.erl b/lib/kernel/src/gen_sctp.erl
index 77ca26b845..d8954f0cf7 100644
--- a/lib/kernel/src/gen_sctp.erl
+++ b/lib/kernel/src/gen_sctp.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2007-2011. All Rights Reserved.
+%% Copyright Ericsson AB 2007-2012. 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
@@ -314,7 +314,7 @@ eof_or_abort(S, AssocId, Action) ->
-spec send(Socket, SndRcvInfo, Data) -> ok | {error, Reason} when
Socket :: sctp_socket(),
SndRcvInfo :: #sctp_sndrcvinfo{},
- Data :: binary | iolist(),
+ Data :: binary() | iolist(),
Reason :: term().
%% Full-featured send. Rarely needed.
@@ -331,7 +331,7 @@ send(S, SRI, Data) ->
Socket :: sctp_socket(),
Assoc :: #sctp_assoc_change{} | assoc_id(),
Stream :: integer(),
- Data :: binary | iolist(),
+ Data :: binary() | iolist(),
Reason :: term().
send(S, #sctp_assoc_change{assoc_id=AssocId}, Stream, Data)