very minor tweak to clearMetabufferChunks
git-svn-id: https://svn.musicpd.org/mpd/trunk@1650 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
5550baa4af
commit
dc4aeafee0
@ -31,11 +31,7 @@ static mpd_sint8 currentMetaChunk = -1;
|
||||
static mpd_sint8 sendMetaChunk = 0;
|
||||
|
||||
void clearAllMetaChunkSets(OutputBuffer * cb) {
|
||||
int i;
|
||||
|
||||
for(i=0; i<BUFFERED_METACHUNKS; i++) {
|
||||
cb->metaChunkSet[i] = 0;
|
||||
}
|
||||
memset(cb->metaChunkSet, 0, BUFFERED_METACHUNKS);
|
||||
}
|
||||
|
||||
void clearOutputBuffer(OutputBuffer * cb) {
|
||||
|
Loading…
Reference in New Issue
Block a user