diff options
author | Max Kellermann <max@duempel.org> | 2008-09-10 11:42:26 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-10 11:42:26 +0200 |
commit | 48191d5661d1fa312f4e1e44569223ceb7bba596 (patch) | |
tree | 66fa35f87369130771daffdd940180835c595e55 /src/sllist.c | |
parent | a580f5fe688e7f987d3cf6ee21f27faed2557b01 (diff) | |
download | mpd-48191d5661d1fa312f4e1e44569223ceb7bba596.tar.gz mpd-48191d5661d1fa312f4e1e44569223ceb7bba596.tar.xz mpd-48191d5661d1fa312f4e1e44569223ceb7bba596.zip |
client: check for COMMAND_RETURN_CLOSE
Don't close the client within client_process_line(), return
COMMAND_RETURN_CLOSE instead. This is the signal for the caller chain
to actually close it. This makes dealing with the client pointer a
lot safer, since the caller always knows whether it is still valid.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions