checksrc: make sure sizeof() is used *with* parentheses

... and unify the source code to adhere.

Closes #2563
This commit is contained in:
Daniel Stenberg 2018-05-11 23:40:58 +02:00
parent f3d836b736
commit cb529b713f
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
25 changed files with 77 additions and 64 deletions

View file

@ -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;