(svc_run): Set my_pollfd to new_pollfd if realloc succeeded.
authordrepper <drepper>
Thu, 30 Nov 2006 15:28:19 +0000 (15:28 +0000)
committerdrepper <drepper>
Thu, 30 Nov 2006 15:28:19 +0000 (15:28 +0000)
sunrpc/svc_run.c

index feb1bf9..f1f47fb 100644 (file)
@@ -71,6 +71,7 @@ svc_run (void)
              break;
            }
 
+         my_pollfd = new_pollfd;
          last_max_pollfd = max_pollfd;
        }