summaryrefslogtreecommitdiff
path: root/source3/libsmb/clikrb5.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-11 23:57:44 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-11 23:57:44 +0200
commitcb78d4593b5ac4eaa0cbead6f86027d040a9e88a (patch)
treea0fac9981c9799e87500e6bf4cefbd4646259172 /source3/libsmb/clikrb5.c
parent75a36a9a5491b86aaa3b0983d5a2bd5d024f783a (diff)
downloadsamba-cb78d4593b5ac4eaa0cbead6f86027d040a9e88a.tar.gz
samba-cb78d4593b5ac4eaa0cbead6f86027d040a9e88a.tar.bz2
samba-cb78d4593b5ac4eaa0cbead6f86027d040a9e88a.zip
Cope with changed signature of http_timestring().
Diffstat (limited to 'source3/libsmb/clikrb5.c')
-rw-r--r--source3/libsmb/clikrb5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index b8afb57977..790e8d5369 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -607,7 +607,7 @@ static bool ads_cleanup_expired_creds(krb5_context context,
DEBUG(3, ("ads_cleanup_expired_creds: Ticket in ccache[%s:%s] expiration %s\n",
cc_type, krb5_cc_get_name(context, ccache),
- http_timestring(credsp->times.endtime)));
+ http_timestring(talloc_tos(), credsp->times.endtime)));
/* we will probably need new tickets if the current ones
will expire within 10 seconds.
@@ -704,7 +704,7 @@ static krb5_error_code ads_krb5_mk_req(krb5_context context,
DEBUG(10,("ads_krb5_mk_req: Ticket (%s) in ccache (%s:%s) is valid until: (%s - %u)\n",
principal, krb5_cc_get_type(context, ccache), krb5_cc_get_name(context, ccache),
- http_timestring((unsigned)credsp->times.endtime),
+ http_timestring(talloc_tos(), (unsigned)credsp->times.endtime),
(unsigned)credsp->times.endtime));
if (expire_time) {