Commit dc4aeafe authored by Warren Dukes's avatar Warren Dukes

very minor tweak to clearMetabufferChunks

git-svn-id: https://svn.musicpd.org/mpd/trunk@1650 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 5550baa4
...@@ -31,11 +31,7 @@ static mpd_sint8 currentMetaChunk = -1; ...@@ -31,11 +31,7 @@ static mpd_sint8 currentMetaChunk = -1;
static mpd_sint8 sendMetaChunk = 0; static mpd_sint8 sendMetaChunk = 0;
void clearAllMetaChunkSets(OutputBuffer * cb) { void clearAllMetaChunkSets(OutputBuffer * cb) {
int i; memset(cb->metaChunkSet, 0, BUFFERED_METACHUNKS);
for(i=0; i<BUFFERED_METACHUNKS; i++) {
cb->metaChunkSet[i] = 0;
}
} }
void clearOutputBuffer(OutputBuffer * cb) { void clearOutputBuffer(OutputBuffer * cb) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment