diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-05-22 04:23:02 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-05-22 04:23:02 +0000 |
commit | 1a936976928962c4e312ffec2942935789c4e12d (patch) | |
tree | d895f0537c7ddb8ad32817b2e1b090ed0e348276 /lib/libc/rpc | |
parent | 238e5f9d4d8d37f0b06bb0f001db97f616bc6198 (diff) |
make svctcp_recv kill sockets that fail in xdr_callmsg(); wpaul
Diffstat (limited to 'lib/libc/rpc')
-rw-r--r-- | lib/libc/rpc/svc_tcp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/rpc/svc_tcp.c b/lib/libc/rpc/svc_tcp.c index 6f6f6b04be5..fa1cfcdf1e3 100644 --- a/lib/libc/rpc/svc_tcp.c +++ b/lib/libc/rpc/svc_tcp.c @@ -28,7 +28,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: svc_tcp.c,v 1.17 1998/05/22 04:21:38 deraadt Exp $"; +static char *rcsid = "$OpenBSD: svc_tcp.c,v 1.18 1998/05/22 04:23:01 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ /* @@ -450,6 +450,7 @@ svctcp_recv(xprt, msg) cd->x_id = msg->rm_xid; return (TRUE); } + cd->strm_stat = XPRT_DIED; /* XXX */ return (FALSE); } |