build: fix IoctlSocket FIONBIO check

Prior to this change HAVE_IOCTLSOCKET_CAMEL_FIONBIO mistakenly checked
for (lowercase) ioctlsocket when it should have checked for IoctlSocket.

Closes https://github.com/curl/curl/pull/7375
This commit is contained in:
Andrea Pappacoda 2021-07-11 00:49:58 +02:00 committed by Jay Satiro
parent 29c7cf79e8
commit af1ee130f8
2 changed files with 2 additions and 2 deletions

View File

@ -298,7 +298,7 @@ main ()
/* IoctlSocket source code */
long flags = 0;
if(0 != ioctlsocket(0, FIONBIO, &flags))
if(0 != IoctlSocket(0, FIONBIO, &flags))
return 1;
;
return 0;

View File

@ -3915,7 +3915,7 @@ AC_DEFUN([CURL_CHECK_FUNC_IOCTLSOCKET_CAMEL_FIONBIO], [
$curl_includes_stropts
]],[[
long flags = 0;
if(0 != ioctlsocket(0, FIONBIO, &flags))
if(0 != IoctlSocket(0, FIONBIO, &flags))
return 1;
]])
],[