Skip to content

Commit f7f96e2

Browse files
committed
URLStream: begin() logging available
1 parent e30c138 commit f7f96e2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/AudioTools/CoreAudio/AudioHttp/URLStream.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,9 @@ class URLStream : public AbstractURLStream {
249249
delay(500);
250250
}
251251
}
252-
LOGD("available: %d", request.available());
253-
return request.available() > 0;
252+
int avail = request.available();
253+
LOGD("available: %d", avail);
254+
return avail > 0;
254255
}
255256

256257

0 commit comments

Comments
 (0)