aboutsummaryrefslogtreecommitdiff
path: root/src/fd_util.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-01-17 14:43:15 +0100
committerMax Kellermann <max@duempel.org>2010-01-17 14:43:15 +0100
commit163e05f5a0373a8456b2cb382dbdd0a1d19aecb2 (patch)
tree84d887c9af1a46a8ba0313faeabbaae190b36f24 /src/fd_util.c
parent02526eda86065b52ce05b6763d479006966b8de2 (diff)
fd_util: fixed WIN32 versions of pipe()
Use the correct parameter name.
Diffstat (limited to 'src/fd_util.c')
-rw-r--r--src/fd_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fd_util.c b/src/fd_util.c
index 84e8c91d..eb5c27df 100644
--- a/src/fd_util.c
+++ b/src/fd_util.c
@@ -124,7 +124,7 @@ int
pipe_cloexec(int fd[2])
{
#ifdef WIN32
- return _pipe(event_pipe, 512, _O_BINARY);
+ return _pipe(fd, 512, _O_BINARY);
#else
int ret;
@@ -148,7 +148,7 @@ int
pipe_cloexec_nonblock(int fd[2])
{
#ifdef WIN32
- return _pipe(event_pipe, 512, _O_BINARY);
+ return _pipe(fd, 512, _O_BINARY);
#else
int ret;