Commit 6f313d3f943a2be08f7320c887374bb678666346

Authored by perry.werneck@gmail.com
1 parent 0b781a43
Exists in master and in 1 other branch develop

Corrigindo segfault/travamento quando a negociação SSL falha

Showing 2 changed files with 3 additions and 5 deletions   Show diff stats
@@ -847,15 +847,13 @@ void v3270_acessible_set_state(GtkAccessible *obj, LIB3270_MESSAGE id) @@ -847,15 +847,13 @@ void v3270_acessible_set_state(GtkAccessible *obj, LIB3270_MESSAGE id)
847 847
848 bits = GTK_V3270_ACCESSIBLE(obj)->state ^ state; 848 bits = GTK_V3270_ACCESSIBLE(obj)->state ^ state;
849 849
850 - trace("State change from %04x to %04x (bits=%04x)",  
851 - GTK_V3270_ACCESSIBLE(obj)->state,  
852 - state, bits ); 850 +// trace("State change from %04x to %04x (bits=%04x)",GTK_V3270_ACCESSIBLE(obj)->state,state, bits );
853 851
854 for(f=0;f<G_N_ELEMENTS(table);f++) 852 for(f=0;f<G_N_ELEMENTS(table);f++)
855 { 853 {
856 if(bits & table[f].flag) 854 if(bits & table[f].flag)
857 { 855 {
858 - trace("State %s is %s",table[f].dbg,(state & table[f].flag) ? "Yes" : "No"); 856 +// trace("State %s is %s",table[f].dbg,(state & table[f].flag) ? "Yes" : "No");
859 atk_object_notify_state_change(ATK_OBJECT(obj),table[f].atkstate,(state & table[f].flag) ? TRUE : FALSE); 857 atk_object_notify_state_change(ATK_OBJECT(obj),table[f].atkstate,(state & table[f].flag) ? TRUE : FALSE);
860 } 858 }
861 } 859 }
@@ -619,7 +619,7 @@ static void changed(H3270 *session, int offset, int len) @@ -619,7 +619,7 @@ static void changed(H3270 *session, int offset, int len)
619 GtkWidget * widget = session->widget; 619 GtkWidget * widget = session->widget;
620 GtkAccessible * obj = GTK_V3270(widget)->accessible; 620 GtkAccessible * obj = GTK_V3270(widget)->accessible;
621 621
622 - trace("%s: offset=%d len=%d",__FUNCTION__,offset,len) 622 +// trace("%s: offset=%d len=%d",__FUNCTION__,offset,len)
623 623
624 if(obj) 624 if(obj)
625 { 625 {