moonbridge
changeset 215:b124f8f3ca79
Fixed mistake in previous commit
author | jbe |
---|---|
date | Mon Jun 22 22:37:17 2015 +0200 (2015-06-22) |
parents | 45a425c75643 |
children | 52e787f12707 |
files | moonbridge_io.c |
line diff
1.1 --- a/moonbridge_io.c Mon Jun 22 22:36:18 2015 +0200 1.2 +++ b/moonbridge_io.c Mon Jun 22 22:37:17 2015 +0200 1.3 @@ -1184,7 +1184,7 @@ 1.4 } 1.5 while (1) { 1.6 #if defined(__linux__) && !defined(_GNU_SOURCE) 1.7 - fd = accept(listener->listenfd, NULL, NULL); 1.8 + fd = accept(listener->fd, NULL, NULL); 1.9 if (fd != -1) { 1.10 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) { 1.11 moonbr_io_errmsg();