summaryrefslogtreecommitdiffstats
path: root/lib/tsocket/tsocket_guide.txt
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-08-28 08:25:19 +0200
committerStefan Metzmacher <metze@samba.org>2010-08-28 08:28:01 +0200
commit8494d09b894f65b1f948c47710137946075bcfec (patch)
treeb6060f7c91e16386e4ea1fb3bc9f551e43899395 /lib/tsocket/tsocket_guide.txt
parent04f021e69227a9c8094a5d617f53f3a1887e2da3 (diff)
downloadsamba-8494d09b894f65b1f948c47710137946075bcfec.tar.gz
samba-8494d09b894f65b1f948c47710137946075bcfec.tar.xz
samba-8494d09b894f65b1f948c47710137946075bcfec.zip
Revert "lib/tsocket: sa_socklen is a macro on irix, so better use sasocklen"
This reverts commit 3d4fb698660381e650d7caeb5b7cff12847c0fb8. This was wrong... The problem was in the caller, sa_len is a macro on irix 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 51b16875367..f937385a82a 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 sasocklen,
+ socklen_t sa_socklen,
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 sasocklen);
+ socklen_t sa_socklen);
In some situations it's needed to wrap existing file descriptors
into the tstream abstraction. You can use tstream_bsd_existing_socket()