diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-04 21:44:28 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-04 21:44:28 +0000 |
commit | 391ffa19d1e0813c51d51b29117d119b1dc57c49 (patch) | |
tree | efbd51e4a2371f06a6055c9ecb4b86eca71d9d34 /libbb | |
parent | c51457ca5b0c1938c9b6813c7d72aa7d70fa88f8 (diff) | |
download | busybox-w32-391ffa19d1e0813c51d51b29117d119b1dc57c49.tar.gz busybox-w32-391ffa19d1e0813c51d51b29117d119b1dc57c49.tar.bz2 busybox-w32-391ffa19d1e0813c51d51b29117d119b1dc57c49.zip |
nslookup: tiny shrink (-5 bytes); add comment about res_init
inet_common: cosmetics, no code changes
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/inet_common.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libbb/inet_common.c b/libbb/inet_common.c index 3a20b4a16..966a021e5 100644 --- a/libbb/inet_common.c +++ b/libbb/inet_common.c | |||
@@ -63,9 +63,6 @@ int FAST_FUNC INET_resolve(const char *name, struct sockaddr_in *s_in, int hostf | |||
63 | #ifdef DEBUG | 63 | #ifdef DEBUG |
64 | res_init(); | 64 | res_init(); |
65 | _res.options |= RES_DEBUG; | 65 | _res.options |= RES_DEBUG; |
66 | #endif | ||
67 | |||
68 | #ifdef DEBUG | ||
69 | bb_error_msg("gethostbyname(%s)", name); | 66 | bb_error_msg("gethostbyname(%s)", name); |
70 | #endif | 67 | #endif |
71 | hp = gethostbyname(name); | 68 | hp = gethostbyname(name); |