Without this handler net_max() will crash with SIGSEGV at line 1209. gdb
backtrace gave clear hint what was the problem, and where it needs to be
fixed.
#0 0x4109db in net_max /home/src/mtr/net.c:1209
#1 0x42478e in gtk_redraw /home/src/mtr/gtk.c:508
#2 0x422fc7 in Pause_clicked /home/src/mtr/gtk.c:121
Pause_Button = gtk_toggle_button_new_with_mnemonic("_Pause");
gtk_box_pack_end(GTK_BOX(Toolbar), Pause_Button, FALSE, FALSE, 0);
g_signal_connect(GTK_OBJECT(Pause_Button), "clicked",
- GTK_SIGNAL_FUNC(Pause_clicked), NULL);
+ GTK_SIGNAL_FUNC(Pause_clicked), ctl);
/* allow root only to set zero delay */
Adjustment = (GtkAdjustment *)gtk_adjustment_new(ctl->WaitTime,