http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aebd13f
)
dnsapi: Remove a useless check.
author
Austin English
<austinenglish@gmail.com>
Fri, 5 Dec 2008 07:12:36 +0000
(
01:12
-0600)
committer
Alexandre Julliard
<julliard@winehq.org>
Fri, 5 Dec 2008 12:52:31 +0000
(13:52 +0100)
dlls/dnsapi/ns_parse.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/dnsapi/ns_parse.c
b/dlls/dnsapi/ns_parse.c
index cb9aa62cb927cb50343ff4bf8f131df08ec18658..bfb83c249e931101240c3320a2ce2495f2893a63 100644
(file)
--- a/
dlls/dnsapi/ns_parse.c
+++ b/
dlls/dnsapi/ns_parse.c
@@
-136,7
+136,7
@@
dns_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 >= ns_s_max)
RETERR(ENODEV);
if (section != handle->_sect)
setsection(handle, section);