From aabd49c4607d736c4673721d17ab91a1bfb62607 Mon Sep 17 00:00:00 2001 From: Maykon Chagas Date: Fri, 22 May 2020 15:20:35 -0300 Subject: [PATCH] fix missing function --- src/voip/turn_tcp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/voip/turn_tcp.cpp b/src/voip/turn_tcp.cpp index 557b78868..9c0e410a0 100644 --- a/src/voip/turn_tcp.cpp +++ b/src/voip/turn_tcp.cpp @@ -397,7 +397,7 @@ int TurnSocket::connect() { close(); return -1; } else if (optVal != 0) { - ms_error("TurnSocket [%p]: failed to connect to server (%d): %s", this, optVal, getSocketErrorWithCode(optVal)); + ms_error("TurnSocket [%p]: failed to connect to server (%d): %s", this, optVal, getSocketError()); close(); return -1; }