diff options
-rw-r--r-- | networking/nslookup.c | 6 | ||||
-rw-r--r-- | nslookup.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/networking/nslookup.c b/networking/nslookup.c index 62fea35fa..5a6387d79 100644 --- a/networking/nslookup.c +++ b/networking/nslookup.c | |||
@@ -45,7 +45,7 @@ | |||
45 | * I could dig through /etc/resolv.conf, but is there a | 45 | * I could dig through /etc/resolv.conf, but is there a |
46 | * better (programatic) way? | 46 | * better (programatic) way? |
47 | */ | 47 | */ |
48 | static inline void server_fprint(void) | 48 | static inline void server_print(void) |
49 | { | 49 | { |
50 | printf("Server: %s\n", "default"); | 50 | printf("Server: %s\n", "default"); |
51 | printf("Address: %s\n\n", "default"); | 51 | printf("Address: %s\n\n", "default"); |
@@ -159,7 +159,7 @@ int nslookup_main(int argc, char **argv) | |||
159 | usage(nslookup_usage); | 159 | usage(nslookup_usage); |
160 | } | 160 | } |
161 | 161 | ||
162 | server_fprint(); | 162 | server_print(); |
163 | if (is_ip_address(argv[1])) { | 163 | if (is_ip_address(argv[1])) { |
164 | host = gethostbyaddr_wrapper(argv[1]); | 164 | host = gethostbyaddr_wrapper(argv[1]); |
165 | } else { | 165 | } else { |
@@ -169,4 +169,4 @@ int nslookup_main(int argc, char **argv) | |||
169 | return EXIT_SUCCESS; | 169 | return EXIT_SUCCESS; |
170 | } | 170 | } |
171 | 171 | ||
172 | /* $Id: nslookup.c,v 1.14 2001/01/20 16:22:58 andersen Exp $ */ | 172 | /* $Id: nslookup.c,v 1.15 2001/01/20 21:51:21 andersen Exp $ */ |
diff --git a/nslookup.c b/nslookup.c index 62fea35fa..5a6387d79 100644 --- a/nslookup.c +++ b/nslookup.c | |||
@@ -45,7 +45,7 @@ | |||
45 | * I could dig through /etc/resolv.conf, but is there a | 45 | * I could dig through /etc/resolv.conf, but is there a |
46 | * better (programatic) way? | 46 | * better (programatic) way? |
47 | */ | 47 | */ |
48 | static inline void server_fprint(void) | 48 | static inline void server_print(void) |
49 | { | 49 | { |
50 | printf("Server: %s\n", "default"); | 50 | printf("Server: %s\n", "default"); |
51 | printf("Address: %s\n\n", "default"); | 51 | printf("Address: %s\n\n", "default"); |
@@ -159,7 +159,7 @@ int nslookup_main(int argc, char **argv) | |||
159 | usage(nslookup_usage); | 159 | usage(nslookup_usage); |
160 | } | 160 | } |
161 | 161 | ||
162 | server_fprint(); | 162 | server_print(); |
163 | if (is_ip_address(argv[1])) { | 163 | if (is_ip_address(argv[1])) { |
164 | host = gethostbyaddr_wrapper(argv[1]); | 164 | host = gethostbyaddr_wrapper(argv[1]); |
165 | } else { | 165 | } else { |
@@ -169,4 +169,4 @@ int nslookup_main(int argc, char **argv) | |||
169 | return EXIT_SUCCESS; | 169 | return EXIT_SUCCESS; |
170 | } | 170 | } |
171 | 171 | ||
172 | /* $Id: nslookup.c,v 1.14 2001/01/20 16:22:58 andersen Exp $ */ | 172 | /* $Id: nslookup.c,v 1.15 2001/01/20 21:51:21 andersen Exp $ */ |