summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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 add21ee..1006988 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) {
OpenPOWER on IntegriCloud