diff options
author | Max Kellermann <max@duempel.org> | 2008-08-29 09:36:38 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-29 09:36:38 +0200 |
commit | 76ecc3024371e6272493e77a311e0cb079a49216 (patch) | |
tree | 4f1deea27a20878c3810da84a259ffb243d27852 /src/listen.h | |
parent | 12bcba8b89ad503cbdfb8261c5c26b9f87860345 (diff) | |
download | mpd-76ecc3024371e6272493e77a311e0cb079a49216.tar.gz mpd-76ecc3024371e6272493e77a311e0cb079a49216.tar.xz mpd-76ecc3024371e6272493e77a311e0cb079a49216.zip |
client: added global "expired" flag
Patch bdeb8e14 ("client: moved "expired" accesses into inline
function") was created under the wrong assumption that
processListOfCommands() could modify the expired flag, which is not
the case. Although "expired" is a non-const pointer,
processListOfCommands() just reads it, using it as the break condition
in a "while" loop. I will address this issue with a better overall
solution, but for now provide a pointer to a global "expired" flag.
Diffstat (limited to 'src/listen.h')
0 files changed, 0 insertions, 0 deletions