aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-09-09 11:22:12 -0700
committerEric Wong <normalperson@yhbt.net>2008-09-09 13:15:57 -0700
commiteffee99748e4c269e3eaa41bc664eccd06fa2367 (patch)
tree9d346f399efb792d95646d4a44ccfac3ac449419
parentdccdfce721ffe730de2f55a67ecd1acfcb19bb0a (diff)
downloadmpd-effee99748e4c269e3eaa41bc664eccd06fa2367.tar.gz
mpd-effee99748e4c269e3eaa41bc664eccd06fa2367.tar.xz
mpd-effee99748e4c269e3eaa41bc664eccd06fa2367.zip
metadata_pipe: kill "writer is ahead of reader" message
The writer can be far ahead of the reader during HTTP stalls; so stop spamming the logs with this message.
-rw-r--r--src/metadata_pipe.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/metadata_pipe.c b/src/metadata_pipe.c
index d968dee27..f4ff16052 100644
--- a/src/metadata_pipe.c
+++ b/src/metadata_pipe.c
@@ -111,10 +111,7 @@ retry:
tag_free(tc.tag);
ringbuf_read_advance(mp, sizeof(struct tag_container));
goto retry; /* read and skip packets */
- } else {
- DEBUG("metadata_pipe: writer is ahead of reader\n");
- /* not ready for tag yet */
- }
+ } /* else not ready for tag yet */
out:
pthread_mutex_unlock(&read_lock);
return tag;