core: Use closesocket instead of close
@@ -189,7 +189,7 @@ fail:
if (socketBio)
BIO_free_all(socketBio);
else
- close(sockfd);
+ closesocket(sockfd);
return FALSE;
}
@@ -555,8 +555,8 @@ static void transport_bio_error_log(rdpTransport* transport, LPCSTR biofunc, BIO
const char* fmt = "%s returned an error: %s";
ERR_error_string_n(sslerr, buf, 120);
- WLog_PrintMessage(transport->log, WLOG_MESSAGE_TEXT, level, line, file, func, fmt,
- biofunc, buf);
+ WLog_PrintMessage(transport->log, WLOG_MESSAGE_TEXT, level, line, file, func, fmt, biofunc,
+ buf);
}
}
