forget to close cfd in parent ;)

This commit is contained in:
Anselm R Garbe 2009-08-15 22:37:29 +01:00
parent 5dfc25167d
commit 4b8f562095

View file

@ -323,6 +323,7 @@ serve(int fd) {
close(cfd); close(cfd);
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
close(cfd);
} }
fprintf(stdout, "%s: shutting down\n", tstamp()); fprintf(stdout, "%s: shutting down\n", tstamp());
} }