diff --git a/README.md b/README.md index d6f0ab6..cecf6c0 100644 --- a/README.md +++ b/README.md @@ -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); diff --git a/src/client/BSSL_TCP_Client.h b/src/client/BSSL_TCP_Client.h index 8fe66cd..4daadfe 100644 --- a/src/client/BSSL_TCP_Client.h +++ b/src/client/BSSL_TCP_Client.h @@ -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);