From 47eb87d437b018a7d7a3a65f43c48e8281fcd38b Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Fri, 31 Jul 2009 08:57:55 +0200 Subject: [PATCH] corrected interface definition --- src/charon/sa/child_sa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/charon/sa/child_sa.c b/src/charon/sa/child_sa.c index 79d23a7b9..e649b53e2 100644 --- a/src/charon/sa/child_sa.c +++ b/src/charon/sa/child_sa.c @@ -851,7 +851,7 @@ child_sa_t * child_sa_create(host_t *me, host_t* other, this->public.get_proposal = (proposal_t*(*)(child_sa_t*))get_proposal; this->public.set_proposal = (void(*)(child_sa_t*, proposal_t *proposal))set_proposal; this->public.get_lifetime = (u_int32_t(*)(child_sa_t*, bool))get_lifetime; - this->public.get_usetime = (u_int32_t(*)(child_sa_t*, bool))get_usetime; + this->public.get_usetime = (u_int32_t(*)(child_sa_t*, bool, bool))get_usetime; this->public.get_usebytes = (u_int64_t(*)(child_sa_t*, bool, bool*))get_usebytes; this->public.has_encap = (bool(*)(child_sa_t*))has_encap; this->public.get_ipcomp = (ipcomp_transform_t(*)(child_sa_t*))get_ipcomp;