summaryrefslogtreecommitdiffstats
path: root/audio/headset.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-07-23 09:43:41 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-07-23 09:43:41 +0000
commit45164afdd713dabd8389834a0be0edd006a588ba (patch)
treeda8151d545bbcdc8c92599e31aa00ee9fde6c7e9 /audio/headset.c
parentac9481b7ad48944f727f6f42237e4e4da32a10a7 (diff)
Remove non-critical error print
Diffstat (limited to 'audio/headset.c')
-rw-r--r--audio/headset.c4
1 files changed, 1 insertions, 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;