allow 'value' property in characteristics updates to have whitespace
This commit is contained in:
parent
586f690727
commit
86f99f696b
|
|
@ -1115,7 +1115,7 @@ int Span::updateCharacteristics(char *buf, SpanBuf *pObj){
|
|||
pObj[nObj].iid=atoi(t3);
|
||||
okay|=2;
|
||||
} else
|
||||
if(!strcmp(t2,"value") && (t3=strtok_r(t1,"}[]:, \"\t\n\r",&p2))){
|
||||
if(!strcmp(t2,"value") && (t3=strtok_r(t1,"}[]:,\"",&p2))){
|
||||
pObj[nObj].val=t3;
|
||||
okay|=4;
|
||||
} else
|
||||
|
|
|
|||
Loading…
Reference in New Issue