Merge pull request #382 from pavlosantoniou/dev

Remove redundant check from btlib.c
This commit is contained in:
Michele Campus
2017-05-18 12:16:30 +02:00
committed by GitHub
+1 -1
View File
@@ -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;