tevent: cancel the timeout timer when the request is finished
authorStefan Metzmacher <metze@samba.org>
Sat, 17 Sep 2011 17:53:55 +0000 (19:53 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 11 Dec 2013 21:46:09 +0000 (22:46 +0100)
commit26d6a5438792a5fb801c4b57b11e5b8f9901d3f8
tree61368328d60cbb1882dacc885a0aa47dec36bc6d
parent979617b05bcf2ffd482f8f7f949745aea7cd9955
tevent: cancel the timeout timer when the request is finished

As we might defer the callback with tevent_req_defer_callback()
when calling tevent_req_done(), we should cancel the timeout directly.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>