diff options
author | Max Kellermann <max@duempel.org> | 2008-08-29 09:36:38 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-09-01 18:35:19 -0700 |
commit | 4ad71d6f79dfd8700441a5b3334e10ae5ab9f157 (patch) | |
tree | ce5428bb8cdc1b4c34f8042d1e8c2929b53b066f /bs | |
parent | 421fced5f9484a288fdc4f3ab33dfd4bfbfb7e84 (diff) | |
download | mpd-4ad71d6f79dfd8700441a5b3334e10ae5ab9f157.tar.gz mpd-4ad71d6f79dfd8700441a5b3334e10ae5ab9f157.tar.xz mpd-4ad71d6f79dfd8700441a5b3334e10ae5ab9f157.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 'bs')
0 files changed, 0 insertions, 0 deletions