diff options
author | Hans Bolinder <[email protected]> | 2012-01-23 13:40:52 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2012-01-23 13:40:52 +0100 |
commit | 22478c78231286957c330d3151828ab75a09dcf8 (patch) | |
tree | 652eeee3207eac8941ddde5da7a9977ac41e0a36 | |
parent | efe40df70999f798590cdbfd6648375891aa0ab0 (diff) | |
download | otp-22478c78231286957c330d3151828ab75a09dcf8.tar.gz otp-22478c78231286957c330d3151828ab75a09dcf8.tar.bz2 otp-22478c78231286957c330d3151828ab75a09dcf8.zip |
Correct two contracts in gen_sctp.erl
binary should be binary().
-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) |