summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schneider <asn@redhat.com>2010-02-25 14:32:39 +0100
committerKarolin Seeger <kseeger@samba.org>2010-05-17 09:50:16 +0200
commit753be37c601ed8267c79b28d781b5d72e8cc318e (patch)
treeecfc4d45b23d9da9a911e34cdf41a1258eae5d0e
parent535b96d56c2b76e5683a13d2b0fbc4f7f92efb52 (diff)
downloadsamba-753be37c601ed8267c79b28d781b5d72e8cc318e.tar.gz
samba-753be37c601ed8267c79b28d781b5d72e8cc318e.tar.xz
samba-753be37c601ed8267c79b28d781b5d72e8cc318e.zip
tsocket: Improve the tsocket_address_bsd_sockaddr documentation.
Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 1983256c70cf07b8c8afddd024ee5fd2522ee83c) Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 672b1c8f9d090b294f89bc322320d65375670660)
-rw-r--r--lib/tsocket/tsocket.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/tsocket/tsocket.h b/lib/tsocket/tsocket.h
index 1cd40e476e6..d983325c454 100644
--- a/lib/tsocket/tsocket.h
+++ b/lib/tsocket/tsocket.h
@@ -869,7 +869,9 @@ ssize_t tsocket_address_bsd_sockaddr(const struct tsocket_address *addr,
* @brief Wrap an existing file descriptors into the tstream abstraction.
*
* You can use this function to wrap an existing file descriptors into the
- * tstream abstraction.
+ * tstream abstraction. After that you're not able to use this file descriptor
+ * for anything else. The file descriptor will be closed when the stream gets
+ * freed. If you still want to use the fd you have have to create a duplicate.
*
* @param[in] mem_ctx The talloc memory context to use.
*