From: Yang Tse Date: Thu, 15 Feb 2007 01:38:07 +0000 (+0000) Subject: Daniel Mirchandani fix to make libcurl build nicely on Winsock X-Git-Tag: curl-7_16_2~310 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f99ca905404b4215bf077fa36dd603706958f2cd;p=curl Daniel Mirchandani fix to make libcurl build nicely on Winsock build targets when --disable-verbose is specified. --- diff --git a/lib/strerror.c b/lib/strerror.c index 6304fe89d..e18af7286 100644 --- a/lib/strerror.c +++ b/lib/strerror.c @@ -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";