[BACK]Return to whois.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / whois

Diff for /src/usr.bin/whois/whois.c between version 1.8 and 1.9

version 1.8, 1999/11/15 19:41:00 version 1.9, 1999/11/19 03:50:49
Line 1 
Line 1 
 /*      $OpenBSD$       */  /*      $OpenBSD$       */
 /*      $NetBSD: whois.c,v 1.5 1994/11/14 05:13:25 jtc Exp $    */  
   
 /*  /*
  * Copyright (c) 1980, 1993   * Copyright (c) 1980, 1993
Line 43 
Line 42 
 #ifndef lint  #ifndef lint
 #if 0  #if 0
 static char sccsid[] = "@(#)whois.c     8.1 (Berkeley) 6/6/93";  static char sccsid[] = "@(#)whois.c     8.1 (Berkeley) 6/6/93";
 #endif  #else
 static char rcsid[] = "$OpenBSD$";  static char rcsid[] = "$OpenBSD$";
   #endif
 #endif /* not lint */  #endif /* not lint */
   
 #include <sys/types.h>  #include <sys/types.h>
Line 91 
Line 91 
         struct hostent *hp;          struct hostent *hp;
         struct sockaddr_in sin;          struct sockaddr_in sin;
   
   #ifdef SOCKS
           SOCKSinit(argv[0]);
   #endif
   
         host = NULL;          host = NULL;
         qnichost = NULL;          qnichost = NULL;
         flags = 0;          flags = 0;
Line 276 
Line 280 
 {  {
   
         (void)fprintf(stderr,          (void)fprintf(stderr,
             "usage: whois [-adgimpqrR] [-h hostname] name ...\n");              "usage: whois [-adgimpqQrR] [-h hostname] name ...\n");
         exit(EX_USAGE);          exit(EX_USAGE);
 }  }

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9