summaryrefslogtreecommitdiff
path: root/nfs/rpc.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1996-09-04 12:47:04 +0000
committerThomas Bushnell <thomas@gnu.org>1996-09-04 12:47:04 +0000
commitad593a5f3264eeef8d8cc3dd95202d49de2e376a (patch)
tree2a58a24d0ef4e63b02f4af72155e63f899d703c5 /nfs/rpc.c
parent74751f8f52c16a07d75247cd5258e83ba5d11638 (diff)
*** empty log message ***
Diffstat (limited to 'nfs/rpc.c')
-rw-r--r--nfs/rpc.c5
1 files changed, 4 insertions, 1 deletions
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);