Skip to content

Commit 6637b60

Browse files
committed
Upadte comments and Readme.
1 parent 54bfbf3 commit 6637b60

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ param **`client`** The pointer to Client interface.
184184

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

187-
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.
187+
Due to the client pointer is assigned, to avoid dangling pointer, client should be existed as long as it was used for transportation.
188188

189189
```cpp
190190
void setClient(Client *client, bool enableSSL = true);

src/client/BSSL_TCP_Client.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class BSSL_TCP_Client : public Client
8080
* @param enableSSL The ssl option; true for enable, false for disable.
8181
*
8282
* Due to the client pointer is assigned, to avoid dangling pointer,
83-
* basic_client should be existed as long as it was used by ssl_client for transportation.
83+
* client should be existed as long as it was used for transportation.
8484
*/
8585
void setClient(Client *client, bool enableSSL = true);
8686

0 commit comments

Comments
 (0)