aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-02-15 01:38:07 +0000
committerYang Tse <yangsita@gmail.com>2007-02-15 01:38:07 +0000
commitf99ca905404b4215bf077fa36dd603706958f2cd (patch)
tree765224ad7ef6ff6479238ae1980cbf5470cacb4e
parente24cb6cb90005e54ca85288414478e6891fe4c1a (diff)
Daniel Mirchandani fix to make libcurl build nicely on Winsock
build targets when --disable-verbose is specified.
-rw-r--r--lib/strerror.c2
1 files changed, 1 insertions, 1 deletions
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";