diff options
Diffstat (limited to 'audio/headset.c')
| -rw-r--r-- | audio/headset.c | 4 | 
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; | 
