projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add cleandir
[unix-history]
/
usr
/
src
/
lib
/
libc
/
net
/
res_query.c
diff --git
a/usr/src/lib/libc/net/res_query.c
b/usr/src/lib/libc/net/res_query.c
index
297c4cb
..
2471880
100644
(file)
--- a/
usr/src/lib/libc/net/res_query.c
+++ b/
usr/src/lib/libc/net/res_query.c
@@
-11,7
+11,7
@@
*/
#if defined(LIBC_SCCS) && !defined(lint)
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)res_query.c 5.
3
(Berkeley) %G%";
+static char sccsid[] = "@(#)res_query.c 5.
4
(Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
@@
-166,7
+166,6
@@
res_search(name, class, type, answer, anslen)
if ((h_errno != HOST_NOT_FOUND && h_errno != NO_DATA) ||
(_res.options & RES_DNSRCH) == 0)
break;
if ((h_errno != HOST_NOT_FOUND && h_errno != NO_DATA) ||
(_res.options & RES_DNSRCH) == 0)
break;
- h_errno = 0;
}
/*
* If the search/default failed, try the name as fully-qualified,
}
/*
* If the search/default failed, try the name as fully-qualified,