code style

This commit is contained in:
John
2022-02-12 12:50:11 +01:00
parent 7ae43351da
commit d4ae0e9e46
5 changed files with 14 additions and 12 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ SSLSocket* SSLSocket::connect(const string& host, const uint16_t& port, bool htt
break;
}
long res = BIO_do_connect(bio);
while (res != 1 && BIO_should_retry(bio) && time(nullptr)<until) {
while (res != 1 && BIO_should_retry(bio) && time(nullptr) < until) {
usleep(SLEEP_NANOS);
res = BIO_do_connect(bio);
}