From 098221e8860d22b590671eddd6af6c143fca49b4 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Fri, 15 Jan 2010 10:33:14 -0500 Subject: [PATCH] tevent: Remove erroneous comments about TEVENT_FD_AUTOCLOSE There is no such flag. --- lib/tevent/tevent.c | 3 --- lib/tevent/tevent.h | 3 --- 2 files changed, 6 deletions(-) diff --git a/lib/tevent/tevent.c b/lib/tevent/tevent.c index ceae534c9bf..a91e5689312 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 edddcdf1d57..b0a9fd8d62a 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. -- 2.47.2