summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-12-07 06:46:19 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-12-07 06:46:19 +0000
commit5876a999023ea9b34cc895757def9506bc903a84 (patch)
tree54970482fd97d4969bbae2528603b60b65d94c8d /cpukit
parent2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-5876a999023ea9b34cc895757def9506bc903a84.tar.bz2
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).
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog2
-rw-r--r--cpukit/libnetworking/libc/ns_parse.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 0f4a341fc7..52d6912e83 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -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).
diff --git a/cpukit/libnetworking/libc/ns_parse.c b/cpukit/libnetworking/libc/ns_parse.c
index e4e087d26b..f0ada7df4f 100644
--- a/cpukit/libnetworking/libc/ns_parse.c
+++ b/cpukit/libnetworking/libc/ns_parse.c
@@ -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;