Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits committed Jun 14, 2021
1 parent f1bb74b commit b3bd1b1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/lib/mdns/Advertiser_ImplMinimalMdns.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,9 @@ CHIP_ERROR AdvertiserMinMdns::Advertise(const OperationalAdvertisingParameters &
{
/* NOTE :
* Clear() method should not be called in Advertise()
* because for the devices which call Advertise() method more than 1 times i.e. advertise operational, commissionable, and commissioner
* needs the result to be additive.
* If Clear() is called at the beginning of these Advertise methods, then only the last call to Advertise will take effect.
* because for the devices which call Advertise() method more than 1 times i.e. advertise operational, commissionable, and
* commissioner needs the result to be additive. If Clear() is called at the beginning of these Advertise methods, then only the
* last call to Advertise will take effect.
*/
char nameBuffer[64] = "";

Expand Down Expand Up @@ -389,9 +389,9 @@ CHIP_ERROR AdvertiserMinMdns::Advertise(const CommissionAdvertisingParameters &
{
/* NOTE :
* Clear() method should not be called in Advertise()
* because for the devices which call Advertise() method more than 1 times i.e. advertise operational, commissionable, and commissioner
* needs the result to be additive.
* If Clear() is called at the beginning of these Advertise methods, then only the last call to Advertise will take effect.
* because for the devices which call Advertise() method more than 1 times i.e. advertise operational, commissionable, and
* commissioner needs the result to be additive. If Clear() is called at the beginning of these Advertise methods, then only the
* last call to Advertise will take effect.
*/
// TODO: need to detect colisions here
char nameBuffer[64] = "";
Expand Down

0 comments on commit b3bd1b1

Please sign in to comment.