Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/rofl0r/proxychains-ng.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2012-11-08 00:13:41 +0400
committerrofl0r <retnyg@gmx.net>2012-11-08 00:31:18 +0400
commitbd07ca49b9b480d39cf57c3cd18be522ab257161 (patch)
treeeb3f10b4fd8c311f0dae7c981408d9de8a7ca8b5
parentf570a669021d7a8f3428bcf79a986fb6abbc8eed (diff)
use pipe instead of pipe2
-rw-r--r--src/allocator_thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/allocator_thread.c b/src/allocator_thread.c
index c997f9d..3ff0122 100644
--- a/src/allocator_thread.c
+++ b/src/allocator_thread.c
@@ -270,7 +270,7 @@ size_t at_get_host_for_ip(ip_type ip, char* readbuf) {
static void initpipe(int* fds) {
- if(pipe2(fds, 0/*O_CLOEXEC*/) == -1) {
+ if(pipe(fds) == -1) {
perror("pipe");
exit(1);
}