Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As suggested by Daniel Lenski, create the oc_text_buf for the request only once the TNCC wrapper has been spawned, to make the error handling a bit saner. And remember to close the socketpair if fork() fails, too. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
- Loading branch information
Showing
1 changed file
with
16 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters