in callbacks.c function: void on_session_add_click
add:
session_last = -1;
before line 895: load_groups((GtkWidget*) button, newses);
This modification fix the bug (does not crash grsync), however might not be the best fix.
Grsync 0.6.1 fixes a number of bugs in the previous version, please check http://www.opbyte.it/grsync/changes.txt
So, I think it is better to patch 0.6.1 and upgrade to 0.6.1 instead of patching 0.6.0
I fixed the bug by modifying the original source of Grsync 0.6.1 from http:// www.opbyte. it/grsync/
in callbacks.c function: void on_session_ add_click
add: (GtkWidget* ) button, newses);
session_last = -1;
before line 895: load_groups(
This modification fix the bug (does not crash grsync), however might not be the best fix.
Grsync 0.6.1 fixes a number of bugs in the previous version, please check http:// www.opbyte. it/grsync/ changes. txt
So, I think it is better to patch 0.6.1 and upgrade to 0.6.1 instead of patching 0.6.0