Fix daemon TCP listen cleanup

This commit is contained in:
Cole Robinson 2009-02-17 14:40:24 +00:00
parent cf47347312
commit 125980cb76
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Tue Feb 17 09:49:49 EST 2009 Cole Robinson <crobinso@redhat.com>
* qemud/qemud.c : Fix daemon TCP listen cleanup
Tue Feb 17 09:47:05 EST 2009 Cole Robinson <crobinso@redhat.com>
* src/qemu_driver.c : Remove incorrect ATTRIBUTE_UNUSED usage.

View File

@ -713,7 +713,7 @@ remoteListenTCP (struct qemud_server *server,
cleanup:
for (i = 0; i < nfds; ++i)
close(fds[0]);
close(fds[i]);
return -1;
}