[BusyBox-cvs] CVS busybox/networking
CVS User andersen
andersen at codepoet.org
Wed Oct 13 07:25:01 UTC 2004
Update of /var/cvs/busybox/networking
In directory nail:/tmp/cvs-serv30327/networking
Modified Files:
nslookup.c
Log Message:
return failure when nslookup fails
--- /var/cvs/busybox/networking/nslookup.c 2004/03/15 08:28:48 1.32
+++ /var/cvs/busybox/networking/nslookup.c 2004/10/13 07:25:01 1.33
@@ -197,7 +197,10 @@
host = xgethostbyname(argv[1]);
}
hostent_fprint(host, "Name: ");
- return EXIT_SUCCESS;
+ if (host) {
+ return EXIT_SUCCESS;
+ }
+ return EXIT_FAILURE;
}
-/* $Id: nslookup.c,v 1.32 2004/03/15 08:28:48 andersen Exp $ */
+/* $Id: nslookup.c,v 1.33 2004/10/13 07:25:01 andersen Exp $ */
More information about the busybox-cvs
mailing list