summaryrefslogtreecommitdiffstats
path: root/lib/tsocket/tsocket_guide.txt
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-08-27 11:42:05 +0200
committerStefan Metzmacher <metze@samba.org>2010-08-27 13:00:26 +0200
commit44b2a7941c1da4c565cb14bae7acc355787ecc6e (patch)
tree069e627963275c54842ca3a665a0c95c2c87b6aa /lib/tsocket/tsocket_guide.txt
parent8e1d3b5f8fe4b5bbb61a357e9db62adad7d767f1 (diff)
downloadsamba-44b2a7941c1da4c565cb14bae7acc355787ecc6e.tar.gz
samba-44b2a7941c1da4c565cb14bae7acc355787ecc6e.tar.xz
samba-44b2a7941c1da4c565cb14bae7acc355787ecc6e.zip
lib/tsocket: sa_socklen is a macro on irix, so better use sasocklen
metze
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 f937385a82a..51b16875367 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()