# HG changeset patch # User jbe # Date 1435005437 -7200 # Node ID b124f8f3ca79163562655104f117da9391ee33c9 # Parent 45a425c75643925047ef1a680946e07aa0f04b8b Fixed mistake in previous commit diff -r 45a425c75643 -r b124f8f3ca79 moonbridge_io.c --- a/moonbridge_io.c Mon Jun 22 22:36:18 2015 +0200 +++ b/moonbridge_io.c Mon Jun 22 22:37:17 2015 +0200 @@ -1184,7 +1184,7 @@ } while (1) { #if defined(__linux__) && !defined(_GNU_SOURCE) - fd = accept(listener->listenfd, NULL, NULL); + fd = accept(listener->fd, NULL, NULL); if (fd != -1) { if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) { moonbr_io_errmsg();