tevent: cleanup nesting counter when doing a full reinit.
authorSimo Sorce <idra@samba.org>
Tue, 26 Apr 2011 03:40:15 +0000 (23:40 -0400)
committerAndreas Schneider <asn@samba.org>
Wed, 10 Aug 2011 16:14:02 +0000 (18:14 +0200)
commit74f3e52f009126aad7a039d02e42f5c60e6209a8
tree4666495c8e0cdec9a2c60ab2e3e32aa428c37d78
parent09ad4d47f875bb3b273902f78e9882e5c4ee259f
tevent: cleanup nesting counter when doing a full reinit.

We may be forking from within a loop, so we need to clean-up to avoid
aborts when nesting is not allowed and we are in a new children.

Signed-off-by: Andreas Schneider <asn@samba.org>
lib/tevent/tevent.c