From ad593a5f3264eeef8d8cc3dd95202d49de2e376a Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Wed, 4 Sep 1996 12:47:04 +0000 Subject: *** empty log message *** --- nfs/rpc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'nfs/rpc.c') diff --git a/nfs/rpc.c b/nfs/rpc.c index 7df05c36..81c98fc1 100644 --- a/nfs/rpc.c +++ b/nfs/rpc.c @@ -193,7 +193,10 @@ conduct_rpc (void **rpcbuf, int **pp) nc = (void *) *pp - *rpcbuf - sizeof (struct rpc_list); cc = write (main_udp_socket, *rpcbuf + sizeof (struct rpc_list), nc); if (cc == -1) - assert_perror (errno); + { + unlink_rpc (hdr); + return errno; + } else assert (cc == nc); -- cgit v1.2.3