From 3ab8989be434f350c7e51efec55ad16ac84639f0 Mon Sep 17 00:00:00 2001 From: mostlikely4r Date: Fri, 22 Nov 2024 15:37:49 +0100 Subject: [PATCH] AI chat: Linux build fix --- playerbot/PlayerbotLLMInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playerbot/PlayerbotLLMInterface.cpp b/playerbot/PlayerbotLLMInterface.cpp index f54674ea..bc80f600 100644 --- a/playerbot/PlayerbotLLMInterface.cpp +++ b/playerbot/PlayerbotLLMInterface.cpp @@ -106,7 +106,7 @@ inline std::string RecvWithTimeout(int sock, int timeout_seconds, int& bytesRead #ifdef _WIN32 sLog.outError("BotLLM: recv error:" + WSAGetLastError()); #else - sLog.outError("BotLLM: recv error:" + sterror(errno)); + sLog.outError("BotLLM: recv error:" + strerror(errno)); #endif break; }