diff options
Diffstat (limited to 'src/listen.c')
-rw-r--r-- | src/listen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listen.c b/src/listen.c index 4adebb66a..c40035279 100644 --- a/src/listen.c +++ b/src/listen.c @@ -297,7 +297,7 @@ void getConnections(fd_set * fds) if (FD_ISSET(listenSockets[i], fds)) { if ((fd = accept(listenSockets[i], &sockAddr, &socklen)) >= 0) { - openAInterface(fd, &sockAddr); + client_new(fd, &sockAddr); } else if (fd < 0 && (errno != EAGAIN && errno != EINTR)) { ERROR("Problems accept()'ing\n"); |