* sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc
authorUlrich Drepper <drepper@redhat.com>
Thu, 30 Nov 2006 15:28:34 +0000 (15:28 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 30 Nov 2006 15:28:34 +0000 (15:28 +0000)
succeeded.

ChangeLog
sunrpc/svc_run.c

index 8166ded..ffffeb2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-11-30  Jakub Jelinek  <jakub@redhat.com>
+
+       * sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc
+       succeeded.
+
 2006-11-29  Daniel Jacobowitz  <dan@codesourcery.com>
            Jakub Jelinek  <jakub@redhat.com>
            Jan Kratochvil  <jan.kratochvil@redhat.com>
index feb1bf9..f1f47fb 100644 (file)
@@ -71,6 +71,7 @@ svc_run (void)
              break;
            }
 
+         my_pollfd = new_pollfd;
          last_max_pollfd = max_pollfd;
        }