mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 08:38:49 -05: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