summaryrefslogtreecommitdiff
path: root/src/listen.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-28 20:03:02 +0200
committerMax Kellermann <max@duempel.org>2008-08-28 20:03:02 +0200
commitc0197c58bae666ddf596d0f585cb419083cd3300 (patch)
treefd979de8026a50f4663739f713a68d6ad38caae1 /src/listen.c
parent6d18e0009926773464b2749f9e39e0785ea87269 (diff)
client: renamed all public functions
Functions which operate on the whole client list are prefixed with "client_manager_", and functions which handle just one client just get "client_".
Diffstat (limited to 'src/listen.c')
-rw-r--r--src/listen.c2
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");