Minor change.
authorFlorian Pose <fp@igh-essen.com>
Wed, 22 Jun 2016 14:08:34 +0200
changeset 2652 973060629fc6
parent 2651 524891614789
child 2659 8e6fad4f9a74
Minor change.
master/master.c
--- a/master/master.c	Wed Jun 22 13:50:35 2016 +0200
+++ b/master/master.c	Wed Jun 22 14:08:34 2016 +0200
@@ -1653,8 +1653,9 @@
         return;
     }
 
-    if (list_empty(&master->eoe_handlers))
+    if (list_empty(&master->eoe_handlers)) {
         return;
+    }
 
     if (!master->send_cb || !master->receive_cb) {
         EC_MASTER_WARN(master, "No EoE processing"
@@ -1714,8 +1715,9 @@
                 break;
             }
         }
-        if (none_open)
+        if (none_open) {
             goto schedule;
+        }
 
         // receive datagrams
         master->receive_cb(master->cb_data);