Skip to content

Commit

Permalink
Upadte comments and Readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
mobizt committed Aug 26, 2023
1 parent 54bfbf3 commit 6637b60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ param **`client`** The pointer to Client interface.

param **`enableSSL`** The ssl option; true for enable, false for disable.

Due to the client pointer is assigned, to avoid dangling pointer, basic_client should be existed as long as it was used by ssl_client for transportation.
Due to the client pointer is assigned, to avoid dangling pointer, client should be existed as long as it was used for transportation.

```cpp
void setClient(Client *client, bool enableSSL = true);
Expand Down
2 changes: 1 addition & 1 deletion src/client/BSSL_TCP_Client.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class BSSL_TCP_Client : public Client
* @param enableSSL The ssl option; true for enable, false for disable.
*
* Due to the client pointer is assigned, to avoid dangling pointer,
* basic_client should be existed as long as it was used by ssl_client for transportation.
* client should be existed as long as it was used for transportation.
*/
void setClient(Client *client, bool enableSSL = true);

Expand Down

0 comments on commit 6637b60

Please sign in to comment.