Skip to content

Commit

Permalink
make pretty
Browse files Browse the repository at this point in the history
  • Loading branch information
pjasinski990 committed Sep 22, 2023
1 parent b5982b1 commit 519054a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/meshcop/dtls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ Error Dtls::Open(ReceiveHandler aReceiveHandler, ConnectedHandler aConnectedHand

mConnectedCallback.Set(aConnectedHandler, aContext);
mReceiveCallback.Set(aReceiveHandler, aContext);
mState = kStateOpen;
mState = kStateOpen;

exit:
return error;
Expand Down Expand Up @@ -453,8 +453,8 @@ void Dtls::Close(void)
{
Disconnect();

mState = kStateClosed;
mTimerSet = false;
mState = kStateClosed;
mTimerSet = false;
mTransportCallback.Clear();

IgnoreError(mSocket.Close());
Expand Down

0 comments on commit 519054a

Please sign in to comment.