diff options
| author | Doug Barton <dougb@FreeBSD.org> | 2011-09-01 05:24:42 +0000 |
|---|---|---|
| committer | Doug Barton <dougb@FreeBSD.org> | 2011-09-01 05:24:42 +0000 |
| commit | ec84331f94b7065559939a5aff7347596bedbccd (patch) | |
| tree | f929ac955ed5ffe7020bc29e63139cb1c4d71c57 /lib/dns/ttl.c | |
| parent | 91c9e506e5675dfd27b76407ff9a999733b62de4 (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 3e41d63b3b250..d31503ec3cb09 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.814.2 2011-03-12 04:59:18 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) { |
