Skip to content

Commit 8d47bea

Browse files
committed
RTSP: compile warning - use accept
1 parent e3ef986 commit 8d47bea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AudioTools/Communication/RTSP/RTSPPlatform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class RTSPPlatform {
4040
* @brief Get next available client from server
4141
*/
4242
static TcpClientType getAvailableClient(TcpServerType *srv){
43-
return srv->available();
43+
return srv->accept();
4444
}
4545

4646
static constexpr TcpClient* NULL_TCP_SOCKET = nullptr;

0 commit comments

Comments
 (0)