summaryrefslogtreecommitdiff
path: root/lib/tsocket/tsocket_guide.txt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tsocket/tsocket_guide.txt')
-rw-r--r--lib/tsocket/tsocket_guide.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tsocket/tsocket_guide.txt b/lib/tsocket/tsocket_guide.txt
index f937385a82..51b1687536 100644
--- a/lib/tsocket/tsocket_guide.txt
+++ b/lib/tsocket/tsocket_guide.txt
@@ -439,7 +439,7 @@ Otherwise it returns 0.
int tsocket_address_bsd_from_sockaddr(TALLOC_CTX *mem_ctx,
struct sockaddr *sa,
- socklen_t sa_socklen,
+ socklen_t sasocklen,
struct tsocket_address **addr);
In some situations it's needed to get a 'struct sockaddr' from a
@@ -450,7 +450,7 @@ success, otherwise it returns -1 and sets 'errno'.
ssize_t tsocket_address_bsd_sockaddr(const struct tsocket_address *addr,
struct sockaddr *sa,
- socklen_t sa_socklen);
+ socklen_t sasocklen);
In some situations it's needed to wrap existing file descriptors
into the tstream abstraction. You can use tstream_bsd_existing_socket()