aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmdline.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
commit1bb0124b77a21ab560c1b0d0a67259b6979648d7 (patch)
tree404b8b0553896305079f90b716217e12ccafb7cc /src/cmdline.c
parent5c10d2ded7e14a5c155115e27ced5178546f0d05 (diff)
downloadmpd-1bb0124b77a21ab560c1b0d0a67259b6979648d7.tar.gz
mpd-1bb0124b77a21ab560c1b0d0a67259b6979648d7.tar.xz
mpd-1bb0124b77a21ab560c1b0d0a67259b6979648d7.zip
listen: allocate sockaddr_storage struct for accept()
The generic sockaddr struct is too small for some addresses. For accept(), we have to allocate a sockaddr_storage struct on the stack, which is large enough for all addresses.
Diffstat (limited to 'src/cmdline.c')
0 files changed, 0 insertions, 0 deletions