Skip to content

Commit e47e8ee

Browse files
Fix typo (#95)
1 parent 09c72e8 commit e47e8ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ESP32_VS1053_Stream.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ bool ESP32_VS1053_Stream::connectToHost(const char *url, const char *username,
251251

252252
bool isHttps = (length > 4 && tolower(url[4]) == 's');
253253

254-
_http->setConnectTimeout(tolower(isHttps ? VS1053_CONNECT_TIMEOUT_MS_SSL
254+
_http->setConnectTimeout(isHttps ? VS1053_CONNECT_TIMEOUT_MS_SSL
255255
: VS1053_CONNECT_TIMEOUT_MS);
256256

257257
const char *finalUrl = needsEscape ? reinterpret_cast<const char *>(_localbuffer) : url;

0 commit comments

Comments
 (0)