From 285b63e90fc966e772282d6a7b26bbfa3f4a0d9b Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 11 Mar 1999 00:29:10 +0000 Subject: [PATCH] Added {} to prevent 'ambigious else' warnings. --- lib/dns/rdata.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/dns/rdata.c b/lib/dns/rdata.c index 43157f51a1..31f01b4dab 100644 --- a/lib/dns/rdata.c +++ b/lib/dns/rdata.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: rdata.c,v 1.37 1999/02/25 00:27:02 marka Exp $ */ + /* $Id: rdata.c,v 1.38 1999/03/11 00:29:10 marka Exp $ */ #include @@ -1020,11 +1020,12 @@ base64_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) { buf[1] = (val[1]<<4)|(val[2]>>2); buf[2] = (val[2]<<6)|(val[3]); RETERR(mem_tobuffer(target, buf, n)); - if (length >= 0) + if (length >= 0) { if (n > length) return (DNS_R_BADBASE64); else length -= n; + } digits = 0; } }