diff options
author | Hans Bolinder <[email protected]> | 2012-01-24 12:50:25 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2012-01-24 12:50:25 +0100 |
commit | 9a83661c8f3e041f79d7f497fb390b4496a9577b (patch) | |
tree | f42886553d3153d7f0e8ad813f323228d1df9c3f /lib/kernel | |
parent | 0a655e636f4d83972719b75e2e2905b9512a96ef (diff) | |
parent | 36f1a3fda344bc3cf32fb1616b55c254ec7aa6e7 (diff) | |
download | otp-9a83661c8f3e041f79d7f497fb390b4496a9577b.tar.gz otp-9a83661c8f3e041f79d7f497fb390b4496a9577b.tar.bz2 otp-9a83661c8f3e041f79d7f497fb390b4496a9577b.zip |
Merge branch 'maint'
* maint:
Correct two contracts in gen_sctp.erl
Diffstat (limited to 'lib/kernel')
-rw-r--r-- | lib/kernel/src/gen_sctp.erl | 6 |
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) |