summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-17 10:15:18 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-18 10:31:35 +0100
commit7f6618a3deb77fc5c4724c598ecacdbf87c5e9c4 (patch)
treef019ad1d18af457b2e2fc45458cc4ae40419678a /lib
parent3f147cb7a3706d00a3cbac51013e09f93e9b7055 (diff)
downloadsamba-7f6618a3deb77fc5c4724c598ecacdbf87c5e9c4.tar.gz
samba-7f6618a3deb77fc5c4724c598ecacdbf87c5e9c4.tar.bz2
samba-7f6618a3deb77fc5c4724c598ecacdbf87c5e9c4.zip
tevent: rename tevent_req_set_timeout() => tevent_req_set_endtime()
This makes more clear what the function does. metze
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)
{