aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_gateway.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-11-16 16:55:28 +0000
committerGravatar Sadie Powell2022-11-16 17:00:08 +0000
commitc4fa62c9ca5430768659108e664c1003def13d30 (patch)
tree11ea30bcb516143687bb50a4a0a3755aafc9476f /src/modules/m_gateway.cpp
parentMerge branch 'insp3' into master. (diff)
Add a typedef for sa_family_t on Windows.
Diffstat (limited to 'src/modules/m_gateway.cpp')
-rw-r--r--src/modules/m_gateway.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}