Http data server Fixed binary data retrieval

This commit is contained in:
Olof hagsand 2022-05-05 18:06:42 +02:00
parent 90474d1523
commit 7452813da7
7 changed files with 28 additions and 13 deletions

View file

@ -145,7 +145,6 @@ restconf_reply_send(void *req0,
sd->sd_code = code;
if (cb != NULL){
if (cbuf_len(cb)){
cprintf(cb, "\r\n");
sd->sd_body_len = cbuf_len(cb);
if (head){
cbuf_free(cb);