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/isc/radix.c | |
parent | 91c9e506e5675dfd27b76407ff9a999733b62de4 (diff) |
Notes
Diffstat (limited to 'lib/isc/radix.c')
-rw-r--r-- | lib/isc/radix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/isc/radix.c b/lib/isc/radix.c index be2e8412e24d4..641620cfe3df1 100644 --- a/lib/isc/radix.c +++ b/lib/isc/radix.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2009 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2007-2009, 2011 Internet Systems Consortium, Inc. ("ISC") * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: radix.c,v 1.23 2009-01-18 23:48:14 tbox Exp $ */ +/* $Id: radix.c,v 1.23.426.2 2011-03-12 04:59:18 tbox Exp $ */ /* * This source was adapted from MRT's RCS Ids: @@ -275,7 +275,7 @@ isc_radix_search(isc_radix_tree_t *radix, isc_radix_node_t **target, if (node && node->prefix) stack[cnt++] = node; - while (--cnt >= 0) { + while (cnt-- > 0) { node = stack[cnt]; if (_comp_with_mask(isc_prefix_tochar(node->prefix), |