Skip to content

Commit

Permalink
Fix log line.
Browse files Browse the repository at this point in the history
  • Loading branch information
bzbarsky-apple authored Feb 6, 2025
1 parent 2f7843f commit 129c70c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/darwin/Framework/CHIP/MTRDevice_Concrete.mm
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ - (void)setReadClient:(ReadClient * _Nullable)readClient subscriptionCallback:(S
MTR_LOG_ERROR("%@: setReadClient:subscriptionCallback: readClient set when current value not null %p %p", self, readClient, _readClient);
}
if (((subscriptionCallback != nullptr)) && (_subscriptionCallback != nullptr)) {
MTR_LOG_ERROR("%@: setReadClient:subscriptionCallback: readClient and subscriptionCallback must both be valid or both be null %p %p", self, readClient, subscriptionCallback);
MTR_LOG_ERROR("%@: setReadClient:subscriptionCallback: subscriptionCallback set when current value not null %p %p", self, subscriptionCallback, _subscriptionCallback);
}

_readClient = readClient;
Expand Down

0 comments on commit 129c70c

Please sign in to comment.