tsocket: Fix typos
authorVolker Lendecke <vl@samba.org>
Thu, 28 Dec 2017 20:41:33 +0000 (21:41 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 3 Jan 2018 23:37:20 +0000 (00:37 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/tsocket/tsocket.h

index f52b7466dfb069cf662a7310122c372a0a52996e..dd0bd981f20ee46a0b571268041da2c1bef673fa 100644 (file)
@@ -805,7 +805,7 @@ bool tstream_bsd_optimize_readv(struct tstream_context *stream,
  * @brief Connect async to a TCP endpoint and create a tstream_context for the
  * stream based communication.
  *
- * Use this function to connenct asynchronously to a remote ipv4 or ipv6 TCP
+ * Use this function to connect asynchronously to a remote ipv4 or ipv6 TCP
  * endpoint and create a tstream_context for the stream based communication.
  *
  * @param[in]  mem_ctx  The talloc memory context to use.
@@ -961,7 +961,7 @@ struct sockaddr;
  *
  * @param[in]  sa       The sockaddr structure to convert.
  *
- * @param[in]  sa_socklen   The lenth of the sockaddr sturucte.
+ * @param[in]  sa_socklen   The length of the sockaddr structure.
  *
  * @param[out] addr     The tsocket pointer to allocate and fill.
  *