Commit 58e14149c05564ae2941c13f2a2edf645246cf04
1 parent
4fbecf34
Exists in
master
and in
1 other branch
Incluindo método para obter a URL do host
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
widget.c
... | ... | @@ -767,9 +767,12 @@ static void ctlr_done(H3270 *session) |
767 | 767 | |
768 | 768 | static void update_connect(H3270 *session, unsigned char connected) |
769 | 769 | { |
770 | +#ifdef DEBUG | |
771 | + char dbg[1024]; | |
772 | +#endif // DEBUG | |
770 | 773 | v3270 *widget = GTK_V3270(lib3270_get_user_data(session)); |
771 | 774 | |
772 | - trace("%s - %s",__FUNCTION__,connected ? "Connected" : "Disconnected"); | |
775 | + trace("%s - %s %s",__FUNCTION__,lib3270_get_url(session,dbg,sizeof(dbg)),connected ? "Connected" : "Disconnected"); | |
773 | 776 | |
774 | 777 | if(connected) |
775 | 778 | { | ... | ... |