mirror of
https://github.com/curl/curl.git
synced 2026-08-06 12:26:14 +03:00
checksrc: make sure sizeof() is used *with* parentheses
... and unify the source code to adhere. Closes #2563
This commit is contained in:
parent
f3d836b736
commit
cb529b713f
25 changed files with 77 additions and 64 deletions
|
|
@ -725,7 +725,7 @@ int curl_formget(struct curl_httppost *form, void *arg,
|
|||
|
||||
while(!result) {
|
||||
char buffer[8192];
|
||||
size_t nread = Curl_mime_read(buffer, 1, sizeof buffer, &toppart);
|
||||
size_t nread = Curl_mime_read(buffer, 1, sizeof(buffer), &toppart);
|
||||
|
||||
if(!nread)
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue