diff options
Diffstat (limited to 'lib/bind/nameser/ns_parse.c')
-rw-r--r-- | lib/bind/nameser/ns_parse.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/bind/nameser/ns_parse.c b/lib/bind/nameser/ns_parse.c index 8dfdd6cd..19a6f51b 100644 --- a/lib/bind/nameser/ns_parse.c +++ b/lib/bind/nameser/ns_parse.c @@ -16,7 +16,7 @@ */ #ifndef lint -static const char rcsid[] = "$Id: ns_parse.c,v 1.3.2.1.4.2 2005/08/12 01:36:23 marka Exp $"; +static const char rcsid[] = "$Id: ns_parse.c,v 1.3.2.1.4.3 2005/10/11 00:48:16 marka Exp $"; #endif /* Import. */ @@ -140,7 +140,8 @@ ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) { int tmp; /* Make section right. */ - if ((tmp = section) < 0 || section >= ns_s_max) + tmp = section; + if (tmp < 0 || section >= ns_s_max) RETERR(ENODEV); if (section != handle->_sect) setsection(handle, section); |