Skip to content

Commit 9625c19

Browse files
Fix conditionnals
1 parent b289813 commit 9625c19

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/icd/server/ICDManager.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ bool ICDManager::CheckInMessagesWouldBeSent(std::function<RegistrationVerificati
236236
}
237237

238238
// At least one registration would require a Check-In message
239-
VerifyOrReturnValue(RegistrationVerifier(entry.fabricIndex, entry.monitoredSubject), true);
239+
VerifyOrReturnValue(!RegistrationVerifier(entry.fabricIndex, entry.monitoredSubject), true);
240240
}
241241
}
242242

src/app/icd/server/ICDManager.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
#include <app/icd/server/ICDServerConfig.h>
2222

2323
#if CHIP_CONFIG_ENABLE_ICD_CIP
24+
#include <app/SubscriptionsInfoProvider.h> // nogncheck
2425
#include <app/icd/server/ICDCheckInSender.h> // nogncheck
2526
#include <app/icd/server/ICDMonitoringTable.h> // nogncheck
2627
#endif // CHIP_CONFIG_ENABLE_ICD_CIP
2728

28-
#include <app/SubscriptionsInfoProvider.h>
2929
#include <app/icd/server/ICDConfigurationData.h>
3030
#include <app/icd/server/ICDNotifier.h>
3131
#include <app/icd/server/ICDStateObserver.h>

0 commit comments

Comments
 (0)