diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-06-24 16:25:06 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-06-24 16:25:06 +0000 |
commit | dc4aeafee016057e68c8f50ea84919987c91d43d (patch) | |
tree | 0eb7eb00ebff504f25b1b9dc7ba0206f4cf5ddef /src/outputBuffer.c | |
parent | 5550baa4af741d732e44cba19a7fb7f58e623b4b (diff) | |
download | mpd-dc4aeafee016057e68c8f50ea84919987c91d43d.tar.gz mpd-dc4aeafee016057e68c8f50ea84919987c91d43d.tar.xz mpd-dc4aeafee016057e68c8f50ea84919987c91d43d.zip |
very minor tweak to clearMetabufferChunks
git-svn-id: https://svn.musicpd.org/mpd/trunk@1650 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/outputBuffer.c')
-rw-r--r-- | src/outputBuffer.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/outputBuffer.c b/src/outputBuffer.c index 3620f826b..8e4c2d93e 100644 --- a/src/outputBuffer.c +++ b/src/outputBuffer.c @@ -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) { |