From: Evan Hunt Date: Mon, 11 Apr 2011 21:11:01 +0000 (+0000) Subject: Fixed a use of |= where != was intended. (Fortunately with no ill effects.) X-Git-Tag: v9.4-ESV-R5~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f3931a5f8ce38e419eb1928530c092fd474db0c;p=thirdparty%2Fbind9.git Fixed a use of |= where != was intended. (Fortunately with no ill effects.) --- diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 62ad0fb5ac0..5589981a6eb 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: zone.c,v 1.410.18.61 2009/09/24 21:38:52 jinmei Exp $ */ +/* $Id: zone.c,v 1.410.18.62 2011/04/11 21:11:01 each Exp $ */ /*! \file */ @@ -3140,7 +3140,7 @@ dns_zone_refresh(dns_zone_t *zone) { isc_interval_set(&i, isc_random_jitter(zone->retry, zone->retry / 4), 0); result = isc_time_nowplusinterval(&zone->refreshtime, &i); - if (result |= ISC_R_SUCCESS) + if (result != ISC_R_SUCCESS) dns_zone_log(zone, ISC_LOG_WARNING, "isc_time_nowplusinterval() failed: %s", dns_result_totext(result));