2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>

* libnetworking/libc/ns_parse.c (ns_parserr):
	Comment out if ( section < 0 ) (type is unsigned).
This commit is contained in:
Ralf Corsepius
2011-12-07 06:46:19 +00:00
parent ce373088e9
commit 5876a99902
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -1,5 +1,7 @@
2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/ns_parse.c (ns_parserr):
Comment out if ( section < 0 ) (type is unsigned).
* libnetworking/libc/gethostbydns.c: Comment out __dns_getanswer
(Unused).
+1 -1
View File
@@ -124,7 +124,7 @@ ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) {
int b;
/* Make section right. */
if (section < 0 || section >= ns_s_max)
if ( /* section < 0 || */ section >= ns_s_max)
goto enodev;
if ((int)section != (int)handle->_sect) {
handle->_sect = section;