diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-12-09 23:46:25 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-12-09 23:46:25 +0000 |
commit | b9ccfd5db26124960fd8a483edcf2de9c8d849a7 (patch) | |
tree | 3de8e8c23e8592d382d181076a80d2d7ce4873ec | |
parent | dec3f3e9f478cf88a44c3da34aa6540383d01bf1 (diff) |
Rename cu_wait from timeout to not shadow the variable in the outer
scope.
-rw-r--r-- | sunrpc/clnt_udp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sunrpc/clnt_udp.c b/sunrpc/clnt_udp.c index e166dede81..549e631a1f 100644 --- a/sunrpc/clnt_udp.c +++ b/sunrpc/clnt_udp.c @@ -287,10 +287,10 @@ send_again: mask = 1 << cu->cu_sock; #endif /* def FD_SETSIZE */ for (;;) { - struct timeval timeout = cu->cu_wait; + struct timeval cu_wait = cu->cu_wait; readfds = mask; switch (select(_rpc_dtablesize(), &readfds, (int *)NULL, - (int *)NULL, &timeout)) { + (int *)NULL, &cu_wait)) { case 0: time_waited.tv_sec += cu->cu_wait.tv_sec; |