fix typo: Change < to <= in WebsocketClient::start

This commit is contained in:
John Colvin committed 2021-11-19 16:30:58 -05:00
1 parent 68848a74a4
commit b1d3acb9f7
1 file changed
+1 -1
+1 -1
View File
@@ -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};