Commit 914af0b791ff6f46b23decce2ed97abb2bae763a
1 parent
249adf28
Exists in
master
and in
2 other branches
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 | 95 | |
| 96 | 96 | #ifdef _WIN32 |
| 97 | 97 | |
| 98 | - int rc = WSAGetLastError(); | |
| 99 | - | |
| 100 | 98 | lib3270_set_network_error( |
| 101 | 99 | hSession, |
| 102 | 100 | _("Erro sending data to host"), |
| 103 | 101 | _("The windows error code was %u"), |
| 104 | - (unsigned int) wsaError | |
| 102 | + (unsigned int) WSAGetLastError() | |
| 105 | 103 | ); |
| 106 | 104 | |
| 107 | 105 | #else | ... | ... |