aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorEmil Bay <github@tixz.dk>2018-09-01 23:13:44 +0200
committerSantiago Gimeno <santiago.gimeno@gmail.com>2018-09-03 14:46:35 +0200
commit89a9ea672b6032c35a1ea3740d18c7d5e085b58f (patch)
tree6286ecbb9cdbea83bd1917c6c7a53850eb66bf10 /docs/src
parentfa5c1d92967dc448c50ab48a95f11394fcfb9a49 (diff)
downloadlibuv-89a9ea672b6032c35a1ea3740d18c7d5e085b58f.tar.gz
libuv-89a9ea672b6032c35a1ea3740d18c7d5e085b58f.zip
doc: fix argument name in tcp.rts
PR-URL: https://github.com/libuv/libuv/pull/1974 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/tcp.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/src/tcp.rst b/docs/src/tcp.rst
index e761b460..d20a6362 100644
--- a/docs/src/tcp.rst
+++ b/docs/src/tcp.rst
@@ -86,13 +86,13 @@ API
.. c:function:: int uv_tcp_getsockname(const uv_tcp_t* handle, struct sockaddr* name, int* namelen)
- Get the current address to which the handle is bound. `addr` must point to
+ Get the current address to which the handle is bound. `name` must point to
a valid and big enough chunk of memory, ``struct sockaddr_storage`` is
recommended for IPv4 and IPv6 support.
.. c:function:: int uv_tcp_getpeername(const uv_tcp_t* handle, struct sockaddr* name, int* namelen)
- Get the address of the peer connected to the handle. `addr` must point to
+ Get the address of the peer connected to the handle. `name` must point to
a valid and big enough chunk of memory, ``struct sockaddr_storage`` is
recommended for IPv4 and IPv6 support.