]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
test for == 0 rather than <= as value is unsigned
authorMark Andrews <marka@isc.org>
Thu, 15 Feb 2018 05:04:01 +0000 (16:04 +1100)
committerMark Andrews <marka@isc.org>
Fri, 16 Feb 2018 03:08:26 +0000 (14:08 +1100)
lib/dns/rrl.c
util/copyrights

index 2c346e9bff63519485c288f1829753cd3984f6d9..0d4e3e8a002689c2ba778bbef14bab4e027ac25f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2017  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2012-2018  Internet Systems Consortium, Inc. ("ISC")
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -766,7 +766,7 @@ add_log_str(isc_buffer_t *lb, const char *str, unsigned int str_len) {
 
        isc_buffer_availableregion(lb, &region);
        if (str_len >= region.length) {
-               if (region.length <= 0)
+               if (region.length == 0U)
                        return;
                str_len = region.length;
        }
index 7ae171d1eaefdd22650d11c7dd728b2ae4529742..e0beb432083e73da7c1e2b798f8c8b849e32830d 100644 (file)
 ./lib/dns/rootns.c                             C       1999,2000,2001,2002,2004,2005,2007,2008,2010,2012,2013,2014,2015,2016,2017
 ./lib/dns/rpz.c                                        C       2011,2012,2013,2014,2015,2016,2017,2018
 ./lib/dns/rriterator.c                         C       2009,2011,2012,2015,2016
-./lib/dns/rrl.c                                        C       2012,2013,2014,2015,2016,2017
+./lib/dns/rrl.c                                        C       2012,2013,2014,2015,2016,2017,2018
 ./lib/dns/sdb.c                                        C       2000,2001,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018
 ./lib/dns/sdlz.c                               C.PORTION       1999,2000,2001,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018
 ./lib/dns/soa.c                                        C       2000,2001,2004,2005,2007,2009,2016