diff options
| author | Kris Kennaway <kris@FreeBSD.org> | 2001-07-24 05:41:13 +0000 |
|---|---|---|
| committer | Kris Kennaway <kris@FreeBSD.org> | 2001-07-24 05:41:13 +0000 |
| commit | 5007eafa5e5d88991afbd6e7232ca37cf608149b (patch) | |
| tree | 72e148a2ae2addad51b4653190ec23f3c61b1d90 /libexec/talkd | |
| parent | 961ba1e5623a2ee420edf5fab2392409d809ae0a (diff) | |
Notes
Diffstat (limited to 'libexec/talkd')
| -rw-r--r-- | libexec/talkd/talkd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libexec/talkd/talkd.c b/libexec/talkd/talkd.c index ca30ef725f13..551fd5b3be91 100644 --- a/libexec/talkd/talkd.c +++ b/libexec/talkd/talkd.c @@ -132,8 +132,10 @@ main(argc, argv) void timeout() { + int save_errno = errno; if (time(0) - lastmsgtime >= MAXIDLE) _exit(0); alarm(TIMEOUT); + errno = save_errno; } |
