fix typo: Change < to <= in WebsocketClient::start
This commit is contained in:
1 parent
68848a74a4
commit
b1d3acb9f7
1 file changed
+1
-1
@@ -640,7 +640,7 @@ WebsocketClient::WebsocketClient(
|
||||
}
|
||||
|
||||
void WebsocketClient::start() {
|
||||
for (size_t i = 0; i < me->conf.n_reconnection_attempts; i++) {
|
||||
for (size_t i = 0; i <= me->conf.n_reconnection_attempts; i++) {
|
||||
net::io_context ioc;
|
||||
// The SSL context is required, and holds certificates
|
||||
ssl::context ctx{ssl::context::tlsv12_client};
|
||||
|
||||
Reference in new issue
Block a user