diff options
author | Michele Campus <fci1908@gmail.com> | 2017-05-18 12:16:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-18 12:16:30 +0200 |
commit | b579408711d9866e3bec3fece08cfb49061a99a5 (patch) | |
tree | 5ed1067ae4ff70f2b09d29846e9d961d9fb8d5c8 | |
parent | b4b682a4bf85a330163af9b588cc7d0830e31b23 (diff) | |
parent | ec0e6f98d4c22f3b3a92282916e6416cf70dd173 (diff) |
Merge pull request #382 from pavlosantoniou/dev
Remove redundant check from btlib.c
-rw-r--r-- | src/lib/protocols/btlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/btlib.c b/src/lib/protocols/btlib.c index 5685eb7e9..4d44198d1 100644 --- a/src/lib/protocols/btlib.c +++ b/src/lib/protocols/btlib.c @@ -396,7 +396,7 @@ void cb_data(bt_parse_data_cb_t *cbd,int *ret) { return; } - if(cbd->buf[0] == 'e' && !cbd->buf[0]) { + if(cbd->buf[0] == 'e') { p->e_msg = s; p->e_len = cbd->v.s.l; return; |