summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index 75e37a8b79..ba0acec094 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -471,7 +471,7 @@ set_socket_nonblocking(int socket)
* even close, depending on OS-specific timeouts).
*
* Returns 0 on success and -errno on failure; do not rely on the value
- * of errno or WSAGetLastSocketError().
+ * of errno or WSAGetLastError().
**/
/* It would be nicer just to set errno, but that won't work for windows. */
int