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: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f99ca905404b4215bf077fa36dd603706958f2cd;p=thirdparty%2Fcurl.git 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 6304fe89d3..e18af7286d 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";