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

Diff for /src/usr.bin/tip/Attic/cu.c between version 1.3 and 1.4

version 1.3, 1997/04/02 01:47:02 version 1.4, 1997/09/01 23:24:24
Line 48 
Line 48 
 /*  /*
  * Botch the interface to look like cu's   * Botch the interface to look like cu's
  */   */
   void
 cumain(argc, argv)  cumain(argc, argv)
           int argc;
         char *argv[];          char *argv[];
 {  {
         register int i;          register int i;
Line 109 
Line 111 
          * The "cu" host name is used to define the           * The "cu" host name is used to define the
          * attributes of the generic dialer.           * attributes of the generic dialer.
          */           */
         (void)snprintf(sbuf, sizeof(sbuf), "cu%d", BR);          (void)snprintf(sbuf, sizeof(sbuf), "cu%ld", BR);
         if ((i = hunt(sbuf)) == 0) {          if ((i = hunt(sbuf)) == 0) {
                 printf("all ports busy\n");                  printf("all ports busy\n");
                 exit(3);                  exit(3);

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4