aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Manual.md4
-rw-r--r--Manual.tex2
2 files changed, 3 insertions, 3 deletions
diff --git a/Manual.md b/Manual.md
index 6aa0fda2..4ae392e3 100644
--- a/Manual.md
+++ b/Manual.md
@@ -213,7 +213,7 @@ usrsctp_connect(struct socket *so,
* name: Address of the peer to connect to (`struct sockaddr_in` for an IPv4 address or `struct sockaddr_in6` for an IPv6 address).
* addrlen: Size of the peer's address.
-usrsctp_connect() returns 0 on success and -1 in case of an error.
+`usrsctp_connect()` returns 0 on success and -1 in case of an error.
### usrsctp_shutdown()
@@ -228,7 +228,7 @@ usrsctp_shutdown(struct socket *so, int how)
* SHUT_WR: Disables further send operations, and initiates the SCTP shutdown sequence.
* SHUT_RDWR: Disables further send and receive operations, and initiates the SCTP shutdown sequence.
-`usrsctp_listen()` returns 0 on success and -1 in case of an error.
+`usrsctp_shutdown()` returns 0 on success and -1 in case of an error.
## Sending and Receiving Data
Since the publication of [RFC 6458](http://tools.ietf.org/html/rfc6458) there is only one function for sending and one for receiving
diff --git a/Manual.tex b/Manual.tex
index 40ed8cf3..5594055f 100644
--- a/Manual.tex
+++ b/Manual.tex
@@ -324,7 +324,7 @@ The arguments are
initiates the SCTP shutdown sequence.
\end{itemize}
\end{itemize}
-\textit{usrsctp\_listen()} returns 0 on success and -1 in case of an error.
+\textit{usrsctp\_shutdown()} returns 0 on success and -1 in case of an error.
\section{Sending and Receiving Data}
Since the publication of RFC~6458 there is only one function for sending and one for receiving