mirror of
https://github.com/curl/curl.git
synced 2026-04-20 02:41:14 +03:00
parent
5fbc3ee520
commit
9fffe925d2
1 changed files with 1 additions and 0 deletions
|
|
@ -143,6 +143,7 @@ CURLcode Curl_dyn_tail(struct dynbuf *s, size_t trail)
|
|||
else {
|
||||
memmove(&s->bufr[0], &s->bufr[s->leng - trail], trail);
|
||||
s->leng = trail;
|
||||
s->bufr[s->leng] = 0;
|
||||
}
|
||||
return CURLE_OK;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue