summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2001-03-20 20:28:09 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2001-03-20 20:28:09 +0000
commitfa87b7ea70503f3b4fe06de227e836e794656f7f (patch)
treeb120144531c3318d6094264de1e5b8aee3d62a52 /lib/libc
parentaf24fca31fbce18b35035f0a0f1ba6743e115ab6 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/rpc/svc_vc.c30
1 files changed, 14 insertions, 16 deletions
diff --git a/lib/libc/rpc/svc_vc.c b/lib/libc/rpc/svc_vc.c
index add21ee8097e..1006988e769c 100644
--- a/lib/libc/rpc/svc_vc.c
+++ b/lib/libc/rpc/svc_vc.c
@@ -412,23 +412,21 @@ read_vc(xprtp, buf, len)
sock = xprt->xp_fd;
- do {
- pollfd.fd = sock;
- pollfd.events = POLLIN;
+ do {
+ pollfd.fd = sock;
+ pollfd.events = POLLIN;
pollfd.revents = 0;
- switch (_poll(&pollfd, 1, milliseconds)) {
- case -1:
- if (errno == EINTR) {
- continue;
- }
- /*FALLTHROUGH*/
- case 0:
- goto fatal_err;
-
- default:
- break;
- }
- } while ((pollfd.revents & POLLIN) == 0);
+ switch (_poll(&pollfd, 1, milliseconds)) {
+ case -1:
+ if (errno == EINTR)
+ continue;
+ /*FALLTHROUGH*/
+ case 0:
+ goto fatal_err;
+ default:
+ break;
+ }
+ } while ((pollfd.revents & POLLIN) == 0);
sa = (struct sockaddr *)xprt->xp_rtaddr.buf;
if (sa->sa_family == AF_LOCAL) {