From e2ba7cd29617ae05087ad3d25c55a2eb8ce607a3 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Thu, 28 May 2026 23:56:29 -0300 Subject: fix issues and warnings when compiling with glibc < 2.32 (#57, #58) This also fixes some inconsistencies such as mixing both strerror and strerrordesc_np, and possible formatting issues. --- src/operate.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/operate.cc') diff --git a/src/operate.cc b/src/operate.cc index b67b3dd..715c272 100644 --- a/src/operate.cc +++ b/src/operate.cc @@ -2406,7 +2406,7 @@ void Talk(uint32 CreatureID, int Mode, const char *Addressee, const char *Text, TConnection *Connection = GetFirstConnection(); while(Connection != NULL){ if(Connection->Live()){ - SendMessage(Connection, TALK_ADMIN_MESSAGE, Text); + SendMessage(Connection, TALK_ADMIN_MESSAGE, "%s", Text); } Connection = GetNextConnection(); -- cgit v1.2.3