misc: fix typos

Closes #13344
This commit is contained in:
RainRat 2024-04-10 00:36:10 -07:00 committed by Daniel Stenberg
parent bfe54b0e88
commit 1087937992
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
12 changed files with 12 additions and 12 deletions

View file

@ -1352,7 +1352,7 @@ static CURLMcode multi_wait(struct Curl_multi *multi,
/* 'nfds' is a 32 bit value and 'struct pollfd' is typically 8 bytes
big, so at 2^29 sockets this value might wrap. When a process gets
the capability to actually handle over 500 million sockets this
calculation needs a integer overflow check. */
calculation needs an integer overflow check. */
ufds = malloc(nfds * sizeof(struct pollfd));
if(!ufds)
return CURLM_OUT_OF_MEMORY;