Remove redundant check from btlib.c

This commit is contained in:
Pavlos Antoniou 2017-05-18 13:08:45 +03:00
parent b4b682a4bf
commit ec0e6f98d4

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;