#ifdef HAVE_WIN32
/*
- * For Windows, we must simulate Unix erro on a socket
+ * For Windows, we must simulate Unix errno on a socket
* error in order to handle errors correctly.
*/
if (nread == SOCKET_ERROR) {
#ifdef HAVE_WIN32
/*
- * For Windows, we must simulate Unix erro on a socket
+ * For Windows, we must simulate Unix errno on a socket
* error in order to handle errors correctly.
*/
if (nwritten == SOCKET_ERROR) {