- cli set debug vars
- fixed: restconf native evhtp appended indata to old data
This commit is contained in:
parent
86b64c4dd0
commit
659aaac5c6
2 changed files with 4 additions and 3 deletions
|
|
@ -529,6 +529,7 @@ restconf_path_root(evhtp_request_t *req,
|
|||
clicon_err(OE_CFG, errno, "evbuffer_pullup");
|
||||
goto done;
|
||||
}
|
||||
cbuf_reset(sd->sd_indata);
|
||||
/* Note the pullup may not be null-terminated */
|
||||
cbuf_append_buf(sd->sd_indata, buf, len);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue