summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/tevent/tevent.h2
-rw-r--r--lib/tevent/tevent_req.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/tevent/tevent.h b/lib/tevent/tevent.h
index 8e3d0973eb..cf5e8e4930 100644
--- a/lib/tevent/tevent.h
+++ b/lib/tevent/tevent.h
@@ -278,7 +278,7 @@ struct tevent_req *_tevent_req_create(TALLOC_CTX *mem_ctx,
_tevent_req_create((_mem_ctx), (_pstate), sizeof(_type), \
#_type, __location__)
-bool tevent_req_set_timeout(struct tevent_req *req,
+bool tevent_req_set_endtime(struct tevent_req *req,
struct tevent_context *ev,
struct timeval endtime);
diff --git a/lib/tevent/tevent_req.c b/lib/tevent/tevent_req.c
index 0846413f2e..800e3855d1 100644
--- a/lib/tevent/tevent_req.c
+++ b/lib/tevent/tevent_req.c
@@ -262,7 +262,7 @@ static void tevent_req_timedout(struct tevent_context *ev,
tevent_req_finish(req, TEVENT_REQ_TIMED_OUT);
}
-bool tevent_req_set_timeout(struct tevent_req *req,
+bool tevent_req_set_endtime(struct tevent_req *req,
struct tevent_context *ev,
struct timeval endtime)
{