mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
parent
5fbc3ee520
commit
9fffe925d2
@ -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…
Reference in New Issue
Block a user