* sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc

succeeded.
This commit is contained in:
Ulrich Drepper 2006-11-30 15:28:34 +00:00
parent ee50871d98
commit 5df4fe0833
2 changed files with 6 additions and 0 deletions

View File

@ -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>

View File

@ -71,6 +71,7 @@ svc_run (void)
break;
}
my_pollfd = new_pollfd;
last_max_pollfd = max_pollfd;
}