diff options
author | Max Kellermann <max@duempel.org> | 2009-02-28 15:20:35 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-28 15:20:35 +0100 |
commit | 5c10d2ded7e14a5c155115e27ced5178546f0d05 (patch) | |
tree | f0ddae57e95fa0f306e38abb5daaddb7e5ff6339 /src/listen.c | |
parent | e085deb9444bc049401a4296c3e7ad87659a663a (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.c | 2 |
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"); } |