From 5df4fe083318e752210652353b9750c6d8ca6714 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 30 Nov 2006 15:28:34 +0000 Subject: [PATCH] * sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc succeeded. --- ChangeLog | 5 +++++ sunrpc/svc_run.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8166dedc95..ffffeb2481 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-11-30 Jakub Jelinek + + * sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc + succeeded. + 2006-11-29 Daniel Jacobowitz Jakub Jelinek Jan Kratochvil diff --git a/sunrpc/svc_run.c b/sunrpc/svc_run.c index feb1bf958e..f1f47fbf30 100644 --- a/sunrpc/svc_run.c +++ b/sunrpc/svc_run.c @@ -71,6 +71,7 @@ svc_run (void) break; } + my_pollfd = new_pollfd; last_max_pollfd = max_pollfd; }