mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08:00
Daniel Mirchandani fix to make libcurl build nicely on Winsock
build targets when --disable-verbose is specified.
This commit is contained in:
parent
e24cb6cb90
commit
f99ca90540
@ -573,7 +573,7 @@ get_winsock_error (int err, char *buf, size_t len)
|
||||
return NULL;
|
||||
}
|
||||
#else
|
||||
if (error == CURLE_OK)
|
||||
if (err == CURLE_OK)
|
||||
return NULL;
|
||||
else
|
||||
p = "error";
|
||||
|
Loading…
Reference in New Issue
Block a user