diff options
author | Doug Barton <dougb@FreeBSD.org> | 2011-08-02 05:18:50 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2011-08-02 05:18:50 +0000 |
commit | 0842d663b7cfb84b478ec937fc1dbc640ceae92b (patch) | |
tree | 4385ddab756952a705f233916d0536e76fe9cc58 /lib/dns/ttl.c | |
parent | 6a50a75ead6b2f11f0321914c033e8c8670cbb60 (diff) |
Notes
Diffstat (limited to 'lib/dns/ttl.c')
-rw-r--r-- | lib/dns/ttl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/dns/ttl.c b/lib/dns/ttl.c index 3e41d63b3b25..260fded9d394 100644 --- a/lib/dns/ttl.c +++ b/lib/dns/ttl.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005, 2007, 2011 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: ttl.c,v 1.29 2007-06-19 23:47:16 tbox Exp $ */ +/* $Id: ttl.c,v 1.29.332.2 2011-03-12 04:57:28 tbox Exp $ */ /*! \file */ @@ -86,6 +86,7 @@ dns_ttl_totext(isc_uint32_t src, isc_boolean_t verbose, isc_buffer_t *target) { hours = src % 24; src /= 24; days = src % 7; src /= 7; weeks = src; src = 0; + POST(src); x = 0; if (weeks != 0) { |