tevent: Remove erroneous comments about TEVENT_FD_AUTOCLOSE
authorStephen Gallagher <sgallagh@redhat.com>
Fri, 15 Jan 2010 15:33:14 +0000 (10:33 -0500)
committerAndreas Schneider <asn@samba.org>
Wed, 5 May 2010 07:28:04 +0000 (09:28 +0200)
There is no such flag.

lib/tevent/tevent.c
lib/tevent/tevent.h

index ceae534c9bf905393a9805e106681167c8017b99..a91e56893123d90cd2a1f249162b426026557fef 100644 (file)
@@ -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,
index edddcdf1d57fbf81fcb035945b62bca19673a5c4..b0a9fd8d62a620d5dda9c283ebe35cb62ac925cd 100644 (file)
@@ -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.