diff options
author | Max Kellermann <max@duempel.org> | 2008-09-10 11:42:26 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-09-10 23:34:54 -0700 |
commit | 70199776b4c925268105df7998905ee36c79846b (patch) | |
tree | a242cf198c0d0b74ca7c98be03d763c0ed8bde94 /src/client.h | |
parent | 6452dab44c6a170d8081b1a15223fb28ea9ab230 (diff) | |
download | mpd-70199776b4c925268105df7998905ee36c79846b.tar.gz mpd-70199776b4c925268105df7998905ee36c79846b.tar.xz mpd-70199776b4c925268105df7998905ee36c79846b.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 'src/client.h')
0 files changed, 0 insertions, 0 deletions