aboutsummaryrefslogtreecommitdiffstats
path: root/src/listen.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-28 20:03:02 +0200
committerEric Wong <normalperson@yhbt.net>2008-09-01 18:35:18 -0700
commit9cf1bf0671950024a21918335ab82ce9ef24cbf7 (patch)
tree7c637cf24a36932c926e5d1c078ea8c37c17c15d /src/listen.c
parentea2592efafb903bd8afb362daab8f3ae9b3a86c3 (diff)
downloadmpd-9cf1bf0671950024a21918335ab82ce9ef24cbf7.tar.gz
mpd-9cf1bf0671950024a21918335ab82ce9ef24cbf7.tar.xz
mpd-9cf1bf0671950024a21918335ab82ce9ef24cbf7.zip
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 '')
-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");