Commit 914af0b791ff6f46b23decce2ed97abb2bae763a

Authored by Perry Werneck
1 parent 249adf28
Exists in master and in 2 other branches develop, macos

Fixing windows build.

Showing 1 changed file with 1 additions and 3 deletions   Show diff stats
src/network_modules/tools.c
@@ -95,13 +95,11 @@ int lib3270_socket_send_failed(H3270 *hSession) { @@ -95,13 +95,11 @@ int lib3270_socket_send_failed(H3270 *hSession) {
95 95
96 #ifdef _WIN32 96 #ifdef _WIN32
97 97
98 - int rc = WSAGetLastError();  
99 -  
100 lib3270_set_network_error( 98 lib3270_set_network_error(
101 hSession, 99 hSession,
102 _("Erro sending data to host"), 100 _("Erro sending data to host"),
103 _("The windows error code was %u"), 101 _("The windows error code was %u"),
104 - (unsigned int) wsaError 102 + (unsigned int) WSAGetLastError()
105 ); 103 );
106 104
107 #else 105 #else