diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-06-06 21:37:12 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-06-06 21:37:12 +0000 |
commit | 33f21b9374d3f57210e5e58881bf67662eaaec3f (patch) | |
tree | 487a40a65baa988a5c10b046594407b19c1df2ae /src/outputBuffer.c | |
parent | 81720da06dbcaa156bab5d3283df0faaa0334b63 (diff) | |
download | mpd-33f21b9374d3f57210e5e58881bf67662eaaec3f.tar.gz mpd-33f21b9374d3f57210e5e58881bf67662eaaec3f.tar.xz mpd-33f21b9374d3f57210e5e58881bf67662eaaec3f.zip |
spelling fix for avuton
git-svn-id: https://svn.musicpd.org/mpd/trunk@1361 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/outputBuffer.c')
-rw-r--r-- | src/outputBuffer.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/outputBuffer.c b/src/outputBuffer.c index d0a98b692..660067c27 100644 --- a/src/outputBuffer.c +++ b/src/outputBuffer.c @@ -125,12 +125,12 @@ int sendDataToOutputBuffer(OutputBuffer * cb, InputStream * inStream, return 0; } -void copyMpdTagToOutputBuffer(OutputBuffer * cb, MpdTag * tag) { +int copyMpdTagToOutputBuffer(OutputBuffer * cb, MpdTag * tag) { printf("copyMpdTagToOB called\n"); if(!cb->acceptMetadata || !tag) { sendMetaChunk = 0; - return; + return -1; } sendMetaChunk = 1; @@ -140,4 +140,6 @@ void copyMpdTagToOutputBuffer(OutputBuffer * cb, MpdTag * tag) { printMpdTag(stdout, tag); copyMpdTagToMetadataChunk(tag, &(cb->metadataChunks[currentMetaChunk])); + + return 0; } |