forget to close cfd in parent ;)
This commit is contained in:
parent
5dfc25167d
commit
4b8f562095
1 changed files with 1 additions and 0 deletions
1
quark.c
1
quark.c
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue