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

Diff for /src/usr.bin/tip/Attic/tip.c between version 1.13 and 1.14

version 1.13, 2001/09/09 19:30:49 version 1.14, 2001/09/26 06:07:28
Line 135 
Line 135 
          */           */
         if (strlen(system) > sizeof PNbuf - 1) {          if (strlen(system) > sizeof PNbuf - 1) {
                 fprintf(stderr, "%s: phone number too long (max = %d bytes)\n",                  fprintf(stderr, "%s: phone number too long (max = %d bytes)\n",
                         __progname, sizeof(PNbuf) - 1);                          __progname, (int)sizeof(PNbuf) - 1);
                 exit(1);                  exit(1);
         }          }
         strncpy( PNbuf, system, sizeof PNbuf - 1 );          strncpy( PNbuf, system, sizeof PNbuf - 1 );

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