mirror of https://github.com/moparisthebest/curl
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