master/master.c
changeset 610 29489a43ecee
parent 601 d6d951b766e3
child 612 aede068f9a74
--- a/master/master.c	Mon Mar 05 09:10:02 2007 +0000
+++ b/master/master.c	Mon Mar 05 09:55:39 2007 +0000
@@ -528,7 +528,7 @@
 
         // don't try to set PREOP for slaves that don't respond,
         // because of 3 second timeout.
-        if (!slave->online) {
+        if (slave->online_state == EC_SLAVE_OFFLINE) {
             if (master->debug_level)
                 EC_DBG("Skipping to configure offline slave %i.\n",
                         slave->ring_position);