aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-20 21:51:21 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-20 21:51:21 +0000
commitfe9888ad9783e3ae3e6ab443c8eef0ef86271f78 (patch)
tree8005e0f78fc41e2707ab3241bd6bdff6849a6ed8
parent965fa326a1cfd8ce480982808a9504c044e99c1b (diff)
downloadbusybox-w32-fe9888ad9783e3ae3e6ab443c8eef0ef86271f78.tar.gz
busybox-w32-fe9888ad9783e3ae3e6ab443c8eef0ef86271f78.tar.bz2
busybox-w32-fe9888ad9783e3ae3e6ab443c8eef0ef86271f78.zip
Fix naming to reflect reality
-rw-r--r--networking/nslookup.c6
-rw-r--r--nslookup.c6
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 */
48static inline void server_fprint(void) 48static 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 */
48static inline void server_fprint(void) 48static 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 $ */