summaryrefslogtreecommitdiff
path: root/src/listen.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-28 15:20:35 +0100
committerMax Kellermann <max@duempel.org>2009-02-28 15:20:35 +0100
commit5c10d2ded7e14a5c155115e27ced5178546f0d05 (patch)
treef0ddae57e95fa0f306e38abb5daaddb7e5ff6339 /src/listen.c
parente085deb9444bc049401a4296c3e7ad87659a663a (diff)
client: use sockaddr_to_string()
Removed the sockaddr_to_tmp_string() hack, use the new function sockaddr_to_string() instead.
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 b5a7b369a..c7f66e887 100644
--- a/src/listen.c
+++ b/src/listen.c
@@ -455,7 +455,7 @@ listen_in_event(G_GNUC_UNUSED GIOChannel *source,
if (fd >= 0) {
set_nonblocking(fd);
- client_new(fd, &sockAddr, get_remote_uid(fd));
+ client_new(fd, &sockAddr, socklen, get_remote_uid(fd));
} else if (fd < 0 && errno != EINTR) {
g_warning("Problems accept()'ing");
}