summaryrefslogtreecommitdiff
path: root/profiles/health
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2014-06-16 10:57:41 +0300
committerSzymon Janc <szymon.janc@gmail.com>2014-06-18 00:05:40 +0200
commit5050a95c01b20e409153d7de0da649e43b5239f3 (patch)
tree69cdb788cdbca094af26efb350122b58b3b17a36 /profiles/health
parent09e69f80ef9d2bcd89746cc229a9a1fcdcc107bc (diff)
downloadbluez-5050a95c01b20e409153d7de0da649e43b5239f3.tar.gz
HDP: trivial: Make code more readable
Diffstat (limited to 'profiles/health')
-rw-r--r--profiles/health/hdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/health/hdp.c b/profiles/health/hdp.c
index d64edb8ff..d256c9f09 100644
--- a/profiles/health/hdp.c
+++ b/profiles/health/hdp.c
@@ -1505,8 +1505,8 @@ static gboolean check_echo(GIOChannel *io_chan, GIOCondition cond,
}
fd = g_io_channel_unix_get_fd(io_chan);
- len = read(fd, buf, sizeof(buf));
+ len = read(fd, buf, sizeof(buf));
if (len != HDP_ECHO_LEN) {
value = FALSE;
goto end;