summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-01-15 10:33:14 -0500
committerAndreas Schneider <asn@samba.org>2010-05-05 09:28:04 +0200
commit098221e8860d22b590671eddd6af6c143fca49b4 (patch)
treed3a1e6fe05b38d4790908b35fdb44b7f35201e92
parent49c89b60e64b5d000b0d9fa8a6eada0d7ae1a814 (diff)
downloadsamba-098221e8860d22b590671eddd6af6c143fca49b4.tar.gz
samba-098221e8860d22b590671eddd6af6c143fca49b4.tar.bz2
samba-098221e8860d22b590671eddd6af6c143fca49b4.zip
tevent: Remove erroneous comments about TEVENT_FD_AUTOCLOSE
There is no such flag.
-rw-r--r--lib/tevent/tevent.c3
-rw-r--r--lib/tevent/tevent.h3
2 files changed, 0 insertions, 6 deletions
diff --git a/lib/tevent/tevent.c b/lib/tevent/tevent.c
index ceae534c9b..a91e568931 100644
--- a/lib/tevent/tevent.c
+++ b/lib/tevent/tevent.c
@@ -262,9 +262,6 @@ struct tevent_context *tevent_context_init(TALLOC_CTX *mem_ctx)
/*
add a fd based event
return NULL on failure (memory allocation error)
-
- if flags contains TEVENT_FD_AUTOCLOSE then the fd will be closed when
- the returned fd_event context is freed
*/
struct tevent_fd *_tevent_add_fd(struct tevent_context *ev,
TALLOC_CTX *mem_ctx,
diff --git a/lib/tevent/tevent.h b/lib/tevent/tevent.h
index edddcdf1d5..b0a9fd8d62 100644
--- a/lib/tevent/tevent.h
+++ b/lib/tevent/tevent.h
@@ -124,9 +124,6 @@ void tevent_set_default_backend(const char *backend);
/**
* @brief Add a file descriptor based event.
*
- * If flags contains TEVENT_FD_AUTOCLOSE then the fd will be closed when
- * the returned fd_event context is freed.
- *
* @param[in] ev The event context to work on.
*
* @param[in] mem_ctx The talloc memory context to use.