Daniel Mirchandani fix to make libcurl build nicely on Winsock

build targets when --disable-verbose is specified.
This commit is contained in:
Yang Tse 2007-02-15 01:38:07 +00:00
parent e24cb6cb90
commit f99ca90540
1 changed files with 1 additions and 1 deletions

View File

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