From c4fa62c9ca5430768659108e664c1003def13d30 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 16 Nov 2022 16:55:28 +0000 Subject: Add a typedef for sa_family_t on Windows. --- src/modules/m_gateway.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_gateway.cpp') diff --git a/src/modules/m_gateway.cpp b/src/modules/m_gateway.cpp index b4f7b78a6..bf30f36b0 100644 --- a/src/modules/m_gateway.cpp +++ b/src/modules/m_gateway.cpp @@ -495,7 +495,7 @@ public: default: // If we have reached this point then we have encountered a bug. - ServerInstance->Logs.Debug(MODNAME, "BUG: OnWebIRCAuth(%s): socket type %d is unknown!", + ServerInstance->Logs.Debug(MODNAME, "BUG: OnWebIRCAuth(%s): socket type %hu is unknown!", user->uuid.c_str(), user->client_sa.family()); return; } @@ -521,7 +521,7 @@ public: default: // If we have reached this point then we have encountered a bug. - ServerInstance->Logs.Debug(MODNAME, "BUG: OnWebIRCAuth(%s): socket type %d is unknown!", + ServerInstance->Logs.Debug(MODNAME, "BUG: OnWebIRCAuth(%s): socket type %hu is unknown!", user->uuid.c_str(), user->server_sa.family()); return; } -- cgit v1.3.1-10-gc9f91