mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-11 09:12:53 -05:00
more fixup pthreads compile.
git-svn-id: file:///svn/unbound/trunk@1184 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
23ac4b02e3
commit
0d8ce6f075
1 changed files with 1 additions and 2 deletions
|
|
@ -337,8 +337,7 @@ daemon_start_others(struct daemon* daemon)
|
|||
thread_start, daemon->workers[i]);
|
||||
#ifdef THREADS_DISABLED
|
||||
/* close pipe end of child */
|
||||
close(daemon->workers[i]->cmd_recv_fd);
|
||||
daemon->workers[i]->cmd_recv_fd = -1;
|
||||
tube_close_read(daemon->workers[i]->cmd);
|
||||
#endif /* no threads */
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue