]> git.pld-linux.org Git - packages/fwhois.git/blob - fwhois-crsnic.patch
- dropped pre-cvs changelog
[packages/fwhois.git] / fwhois-crsnic.patch
1 --- fwhois-1.00/fwhois.c        Sun Jul 25 20:34:15 1993
2 +++ fwhois-1.00/fwhois.c        Fri Feb  4 21:42:55 2000
3 @@ -67,9 +67,9 @@
4         
5         if (argc == 2) {
6                 eleet = argv[1];
7 -               /* If no host specified, use whois.internic.net */
8 +               /* If no host specified, use whois.crsnic.net */
9                 if(!index(argv[1],'@')) {
10 -                       stuff = strcat(eleet,"@whois.internic.net");
11 +                       stuff = strcat(eleet,"@whois.crsnic.net");
12                         eleet = stuff;
13                         }
14                 }
15 @@ -96,7 +96,7 @@
16  
17         if (!(host = rindex(name, '@')))
18                 return;
19 -       *host++ = NULL;
20 +       *host++ = '\0';
21         if (!(hp = gethostbyname(host))) {
22                 defaddr.s_addr = inet_addr(host);
23                 if (defaddr.s_addr == -1) {
This page took 0.064397 seconds and 3 git commands to generate.