From ad7209ea70d346527ffdcda335153831341d9dcf Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Tue, 6 Jun 2000 17:43:21 +0000 Subject: [PATCH] style, no functional change --- lib/dns/rdata.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dns/rdata.c b/lib/dns/rdata.c index 6ca0dd25ca..a9cf6745d0 100644 --- a/lib/dns/rdata.c +++ b/lib/dns/rdata.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: rdata.c,v 1.99 2000/06/01 21:42:39 tale Exp $ */ +/* $Id: rdata.c,v 1.100 2000/06/06 17:43:21 gson Exp $ */ #include #include @@ -415,7 +415,7 @@ dns_rdata_fromwire(dns_rdata_t *rdata, dns_rdataclass_t rdclass, if (result == ISC_R_SUCCESS && !buffer_empty(source)) result = DNS_R_EXTRADATA; - if (rdata && result == ISC_R_SUCCESS) { + if (rdata != NULL && result == ISC_R_SUCCESS) { region.length = target->used - st.used; dns_rdata_fromregion(rdata, rdclass, type, ®ion); }