setgid to group "write" so that terminals need not be world writable
[unix-history] / usr / src / usr.bin / whois / whois.c
index 0303619..6b9b926 100644 (file)
@@ -1,6 +1,18 @@
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+char copyright[] =
+"@(#) Copyright (c) 1980 Regents of the University of California.\n\
+ All rights reserved.\n";
+#endif not lint
+
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)whois.c    4.2 83/06/10";
-#endif
+static char sccsid[] = "@(#)whois.c    5.2 (Berkeley) %G%";
+#endif not lint
 
 #include <sys/types.h>
 #include <sys/socket.h>
 
 #include <sys/types.h>
 #include <sys/socket.h>
@@ -10,7 +22,7 @@ static char sccsid[] = "@(#)whois.c   4.2 83/06/10";
 #include <stdio.h>
 #include <netdb.h>
 
 #include <stdio.h>
 #include <netdb.h>
 
-#define        NICHOST "sri-nic"
+#define        NICHOST "sri-nic.arpa"
 
 main(argc, argv)
        int argc;
 
 main(argc, argv)
        int argc;