OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54a1c76
)
resolv: fix compilation
author
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Tue, 18 Oct 2011 17:05:07 +0000
(19:05 +0200)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Thu, 20 Oct 2011 16:55:37 +0000
(18:55 +0200)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/inet/resolv.c
patch
|
blob
|
history
diff --git
a/libc/inet/resolv.c
b/libc/inet/resolv.c
index
0fd28ee
..
21e84e5
100644
(file)
--- a/
libc/inet/resolv.c
+++ b/
libc/inet/resolv.c
@@
-4212,8
+4212,8
@@
int res_mkquery(int op, const char *dname, int class, int type,
#ifdef DEBUG
if (_res_options & RES_DEBUG)
- printf(";; res_mkquery(%d, %s, %
s, %
d, %d)\n",
-
name, (op, dname ? dname : "<Nil>")
, class, type);
+ printf(";; res_mkquery(%d, %s, %d, %d)\n",
+
op, dname && *dname ? dname : "<null>"
, class, type);
#endif
memset(buf, 0, HFIXEDSZ);