* I could dig through /etc/resolv.conf, but is there a
* better (programatic) way?
*/
-static inline void server_fprint(void)
+static inline void server_print(void)
{
printf("Server: %s\n", "default");
printf("Address: %s\n\n", "default");
usage(nslookup_usage);
}
- server_fprint();
+ server_print();
if (is_ip_address(argv[1])) {
host = gethostbyaddr_wrapper(argv[1]);
} else {
return EXIT_SUCCESS;
}
-/* $Id: nslookup.c,v 1.14 2001/01/20 16:22:58 andersen Exp $ */
+/* $Id: nslookup.c,v 1.15 2001/01/20 21:51:21 andersen Exp $ */
* I could dig through /etc/resolv.conf, but is there a
* better (programatic) way?
*/
-static inline void server_fprint(void)
+static inline void server_print(void)
{
printf("Server: %s\n", "default");
printf("Address: %s\n\n", "default");
usage(nslookup_usage);
}
- server_fprint();
+ server_print();
if (is_ip_address(argv[1])) {
host = gethostbyaddr_wrapper(argv[1]);
} else {
return EXIT_SUCCESS;
}
-/* $Id: nslookup.c,v 1.14 2001/01/20 16:22:58 andersen Exp $ */
+/* $Id: nslookup.c,v 1.15 2001/01/20 21:51:21 andersen Exp $ */