]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Rename cu_wait from timeout to not shadow the variable in the outer
authorUlrich Drepper <drepper@redhat.com>
Tue, 9 Dec 1997 23:46:25 +0000 (23:46 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 9 Dec 1997 23:46:25 +0000 (23:46 +0000)
scope.

sunrpc/clnt_udp.c

index e166dede81d3a26d356b05202e3f905a220291f0..549e631a1f67b984ca48c9fd550e6d55c1d347e1 100644 (file)
@@ -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;