aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/CommandListBuilder.cxx
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2014-09-16 12:54:16 +0200
committerMax Kellermann <max@duempel.org>2014-09-18 09:15:39 +0200
commita0ef27a0cd97d53f89def5ed5c94250b92cbd587 (patch)
tree1ba182cc55a34c5003399dbbe4053525ece62ae1 /src/command/CommandListBuilder.cxx
parente304d0f8ee404ef7e1223a324012d4fb4049185d (diff)
downloadmpd-a0ef27a0cd97d53f89def5ed5c94250b92cbd587.tar.gz
mpd-a0ef27a0cd97d53f89def5ed5c94250b92cbd587.tar.xz
mpd-a0ef27a0cd97d53f89def5ed5c94250b92cbd587.zip
command/list: reset used size after the list has been processed
Diffstat (limited to 'src/command/CommandListBuilder.cxx')
-rw-r--r--src/command/CommandListBuilder.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command/CommandListBuilder.cxx b/src/command/CommandListBuilder.cxx
index cc10f7205..4e0a8bd2a 100644
--- a/src/command/CommandListBuilder.cxx
+++ b/src/command/CommandListBuilder.cxx
@@ -27,6 +27,7 @@ void
CommandListBuilder::Reset()
{
list.clear();
+ size = 0;
mode = Mode::DISABLED;
}