Skip to content

Commit 5ad32b7

Browse files
committed
little fix
1 parent 07a8222 commit 5ad32b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Audio.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ bool Audio::connecttohost(const char* host, const char* user, const char* pwd) {
563563
if(res) {
564564
uint32_t dt = millis() - timestamp;
565565
m_lastHost = audio_strdup(c_host.get());
566-
log_info("%s has been established in %lu ms, free Heap: %lu bytes", m_f_ssl ? "SSL" : "Connection", (long unsigned int)dt, (long unsigned int)ESP.getFreeHeap());
566+
log_info("%s has been established in %lu ms %lu bytes", m_f_ssl ? "SSL" : "Connection", (long unsigned int)dt);
567567
m_f_running = true;
568568
_client->print(rqh.get());
569569
if(endsWith(h_host.get(), ".mp3" )) m_expectedCodec = CODEC_MP3;
@@ -2941,7 +2941,7 @@ ps_ptr<char> Audio::parsePlaylist_M3U8() {
29412941
ps_ptr<char>m_playlistBuff = nullptr;
29422942
if(m_playlistURL[m_playlistURL.size() - 1]) {
29432943
m_playlistBuff = audio_strdup(m_playlistURL[m_playlistURL.size() - 1].get());
2944-
// m_playlistURL.pop_back();
2944+
m_playlistURL.pop_back();
29452945
m_playlistURL.shrink_to_fit();
29462946
}
29472947
if(m_f_Log) log_i("now playing %s", m_playlistBuff);

0 commit comments

Comments
 (0)