better message?
authorSam Leffler <sam@ucbvax.Berkeley.EDU>
Sun, 17 Jul 1983 09:37:32 +0000 (01:37 -0800)
committerSam Leffler <sam@ucbvax.Berkeley.EDU>
Sun, 17 Jul 1983 09:37:32 +0000 (01:37 -0800)
SCCS-vsn: usr.bin/tip/acu.c 4.10

usr/src/usr.bin/tip/acu.c

index f5cb05f..0ee72b7 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)acu.c      4.9 (Berkeley) %G%";
+static char sccsid[] = "@(#)acu.c      4.10 (Berkeley) %G%";
 #endif
 
 #include "tip.h"
 #endif
 
 #include "tip.h"
@@ -74,7 +74,7 @@ connect()
                                return (NOSTR);
                        } else
                                logent(value(HOST), phnum, acu->acu_name,
                                return (NOSTR);
                        } else
                                logent(value(HOST), phnum, acu->acu_name,
-                                       "no answer");
+                                       "call failed");
                        tried++;
                }
        } else {
                        tried++;
                }
        } else {
@@ -109,7 +109,7 @@ connect()
                                return (NOSTR);
                        } else
                                logent(value(HOST), phnum, acu->acu_name,
                                return (NOSTR);
                        } else
                                logent(value(HOST), phnum, acu->acu_name,
-                                       "no answer");
+                                       "call failed");
                        tried++;
                }
                fclose(fd);
                        tried++;
                }
                fclose(fd);
@@ -118,7 +118,7 @@ connect()
                logent(value(HOST), "", acu->acu_name, "missing phone number");
        else
                (*acu->acu_abort)();
                logent(value(HOST), "", acu->acu_name, "missing phone number");
        else
                (*acu->acu_abort)();
-       return (tried ? "no answer" : "missing phone number");
+       return (tried ? "call failed" : "missing phone number");
 }
 
 disconnect()
 }
 
 disconnect()