summaryrefslogtreecommitdiff
path: root/lib/pthreadpool
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2018-12-23 09:12:10 +0100
committerStefan Metzmacher <metze@samba.org>2019-01-11 23:11:12 +0100
commit57c7aaa36d2d146065cee78306cd38c0df34cd93 (patch)
tree8717b6ec5e4dd96ed6d978887b0b582ef796afd1 /lib/pthreadpool
parentedb75eeb56d97c9b8b47df731626984ae7553411 (diff)
downloadsamba-57c7aaa36d2d146065cee78306cd38c0df34cd93.tar.gz
Revert "pthreadpool: reset monitor_fd after calling tevent_fd_set_auto_close()"
This reverts commit f68b5ee75f002ed542a8423070fb01e3b0e83f65. See the discussion in https://lists.samba.org/archive/samba-technical/2018-December/131731.html for the reasoning behind this revert. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib/pthreadpool')
-rw-r--r--lib/pthreadpool/pthreadpool_tevent.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/pthreadpool/pthreadpool_tevent.c b/lib/pthreadpool/pthreadpool_tevent.c
index 12148f18123..7088202d97c 100644
--- a/lib/pthreadpool/pthreadpool_tevent.c
+++ b/lib/pthreadpool/pthreadpool_tevent.c
@@ -719,7 +719,6 @@ static int pthreadpool_tevent_register_ev(
return ENOMEM;
}
tevent_fd_set_auto_close(glue->fde);
- monitor_fd = -1;
}
/*