We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7962d0b commit 3fa1b9dCopy full SHA for 3fa1b9d
state.c
@@ -129,7 +129,7 @@ MtmCheckState(void)
129
(MtmMajorNode || Mtm->refereeGrant),
130
maskToString(Mtm->stoppedNodeMask, Mtm->nAllNodes));
131
132
-#define ENABLE_IF(cond, reason) if (!(cond) && !isEnabledState) { \
+#define ENABLE_IF(cond, reason) if ((cond) && !isEnabledState) { \
133
isEnabledState = true; statusReason = reason; }
134
#define DISABLE_IF(cond, reason) if ((cond) && isEnabledState) { \
135
isEnabledState = false; statusReason = reason; }
0 commit comments