projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4_3_Tahoe release
[unix-history]
/
usr
/
src
/
usr.bin
/
tip
/
acu.c
diff --git
a/usr/src/usr.bin/tip/acu.c
b/usr/src/usr.bin/tip/acu.c
index
e6bfb17
..
1cc74cc
100644
(file)
--- a/
usr/src/usr.bin/tip/acu.c
+++ b/
usr/src/usr.bin/tip/acu.c
@@
-5,7
+5,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)acu.c 5.
4 (Berkeley) %G%
";
+static char sccsid[] = "@(#)acu.c 5.
5 (Berkeley) 12/4/87
";
#endif not lint
#include "tip.h"
#endif not lint
#include "tip.h"
@@
-42,6
+42,7
@@
connect()
if (!DU) { /* regular connect message */
if (CM != NOSTR)
pwrite(FD, CM, size(CM));
if (!DU) { /* regular connect message */
if (CM != NOSTR)
pwrite(FD, CM, size(CM));
+ logent(value(HOST), "", DV, "call completed");
return (NOSTR);
}
/*
return (NOSTR);
}
/*
@@
-130,8
+131,10
@@
connect()
disconnect(reason)
char *reason;
{
disconnect(reason)
char *reason;
{
- if (!conflag)
+ if (!conflag) {
+ logent(value(HOST), "", DV, "call terminated");
return;
return;
+ }
if (reason == NOSTR) {
logent(value(HOST), "", acu->acu_name, "call terminated");
if (boolean(value(VERBOSE)))
if (reason == NOSTR) {
logent(value(HOST), "", acu->acu_name, "call terminated");
if (boolean(value(VERBOSE)))