aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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";