mirror of
https://github.com/curl/curl.git
synced 2026-07-31 07:58:04 +03:00
lib650.c use CURL_CSTRLEN
This commit is contained in:
parent
6203ac180b
commit
c6d2cb99c6
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ static CURLcode test_lib650(const char *URL)
|
|||
formrc = curl_formadd(&formpost,
|
||||
&lastptr,
|
||||
CURLFORM_PTRNAME, testname,
|
||||
CURLFORM_NAMELENGTH, (long)(sizeof(testname) - 2),
|
||||
CURLFORM_NAMELENGTH, (long)CURL_CSTRLEN(testname) - 1,
|
||||
CURLFORM_ARRAY, formarray,
|
||||
CURLFORM_FILENAME, "remotefile.txt",
|
||||
CURLFORM_END);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue