aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mpd.spec
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-10 11:42:26 +0200
committerMax Kellermann <max@duempel.org>2008-09-10 11:42:26 +0200
commit48191d5661d1fa312f4e1e44569223ceb7bba596 (patch)
tree66fa35f87369130771daffdd940180835c595e55 /scripts/mpd.spec
parenta580f5fe688e7f987d3cf6ee21f27faed2557b01 (diff)
downloadmpd-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 'scripts/mpd.spec')
0 files changed, 0 insertions, 0 deletions