From 45164afdd713dabd8389834a0be0edd006a588ba Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Mon, 23 Jul 2007 09:43:41 +0000 Subject: Remove non-critical error print --- audio/headset.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/audio/headset.c b/audio/headset.c index e97a99cf..3af4d05a 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -208,10 +208,8 @@ static gboolean rfcomm_io_cb(GIOChannel *chan, GIOCondition cond, err = g_io_channel_read(chan, (gchar *) buf, sizeof(buf) - 1, &bytes_read); - if (err != G_IO_ERROR_NONE) { - error("Ignoring error %d", err); + if (err != G_IO_ERROR_NONE) return TRUE; - } free_space = sizeof(hs->buf) - hs->data_start - hs->data_length - 1; -- cgit