# HG changeset patch # User Florian Pose # Date 1213264175 0 # Node ID 0e1aaeb3540dde09fb152b9892856a1668f9b372 # Parent a8eab75aa8e3ce0505bb893488d803415580f06a Fixed bug in slave scanning, causing a segmentation fault. diff -r a8eab75aa8e3 -r 0e1aaeb3540d master/fsm_master.c --- a/master/fsm_master.c Thu Jun 12 09:44:18 2008 +0000 +++ b/master/fsm_master.c Thu Jun 12 09:49:35 2008 +0000 @@ -698,7 +698,7 @@ // another slave to fetch? fsm->slave++; - if (slave < master->slaves + master->slave_count) { + if (fsm->slave < master->slaves + master->slave_count) { ec_fsm_slave_scan_start(&fsm->fsm_slave_scan, fsm->slave); ec_fsm_slave_scan_exec(&fsm->fsm_slave_scan); // execute immediately return;