Permalink
Browse files

fix lthread_pipe() typo

  • Loading branch information...
1 parent b2ee927 commit 3c86ddd53a3a3712f80faaa03a108e93e4dfce2b @halayli committed Jun 25, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/lthread_socket.c
@@ -235,11 +235,11 @@ lthread_pipe(int fildes[2])
if (ret != 0)
return ret;
- ret = fcntl(files[0], F_SETFL, O_NONBLOCK);
+ ret = fcntl(fildes[0], F_SETFL, O_NONBLOCK);
if (ret != 0)
goto err;
- ret = fcntl(files[1], F_SETFL, O_NONBLOCK);
+ ret = fcntl(fildes[1], F_SETFL, O_NONBLOCK);
if (ret != 0)
goto err;

0 comments on commit 3c86ddd

Please sign in to comment.