Searched refs:gotsize (Results 1 – 1 of 1) sorted by relevance
1482 size_t gotsize = 0; in Curl_FormReader() local1493 gotsize = readfromfile(form, buffer, wantedsize); in Curl_FormReader()1495 if(gotsize) in Curl_FormReader()1497 return gotsize; in Curl_FormReader()1501 if((form->data->length - form->sent) > wantedsize - gotsize) { in Curl_FormReader()1503 memcpy(buffer + gotsize, form->data->line + form->sent, in Curl_FormReader()1504 wantedsize - gotsize); in Curl_FormReader()1506 form->sent += wantedsize-gotsize; in Curl_FormReader()1511 memcpy(buffer+gotsize, in Curl_FormReader()1514 gotsize += form->data->length - form->sent; in Curl_FormReader()[all …]