Commit 01bf7444b5292baaead65a2d0f156b7405f40425
1 parent
8e82d3bc
Exists in
master
and in
3 other branches
Implementando novo diálogo para seleção de servidor
Showing
1 changed file
with
5 additions
and
2 deletions
Show diff stats
connect.c
... | ... | @@ -95,11 +95,14 @@ static void net_connected(H3270 *hSession) |
95 | 95 | } |
96 | 96 | else if(err) |
97 | 97 | { |
98 | + char buffer[4096]; | |
99 | + snprintf(buffer,4095,_( "Can't connect to %s" ), hSession->host.current ); | |
100 | + | |
98 | 101 | lib3270_disconnect(hSession); |
99 | 102 | lib3270_popup_dialog( hSession, |
100 | 103 | LIB3270_NOTIFY_ERROR, |
101 | - _( "Network error" ), | |
102 | - _( "Unable to connect to host." ), | |
104 | + _( "Connection failed" ), | |
105 | + buffer, | |
103 | 106 | #ifdef _WIN32 |
104 | 107 | _( "%s"), lib3270_win32_strerror(err) |
105 | 108 | #else | ... | ... |