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

Diff for /src/usr.bin/talk/get_names.c between version 1.13 and 1.14

version 1.13, 2003/07/10 00:06:51 version 1.14, 2003/10/01 06:32:44
Line 93 
Line 93 
         my_machine_name = hostname;          my_machine_name = hostname;
         /* check for, and strip out, the machine name of the target */          /* check for, and strip out, the machine name of the target */
         names = strdup(argv[1]);          names = strdup(argv[1]);
           if (names == NULL)
                   errx(1, "out of memory");
         for (cp = names; *cp && !strchr("@:!.", *cp); cp++)          for (cp = names; *cp && !strchr("@:!.", *cp); cp++)
                 ;                  ;
         if (*cp == '\0') {          if (*cp == '\0') {

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14