diff options
| author | 2024-08-27 13:27:17 +0100 | |
|---|---|---|
| committer | 2024-08-27 13:27:17 +0100 | |
| commit | 1bf5137a9d4fbd744db76afb6c0d3d53c943e986 (patch) | |
| tree | 348d9e3162c07bf0bb3f68c6e0efbe5976631467 /src/socket.cpp | |
| parent | Refactor the InspIRCd class to be actually readable. (diff) | |
Use sa_family_t instead of int.
Diffstat (limited to 'src/socket.cpp')
| -rw-r--r-- | src/socket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.cpp b/src/socket.cpp index 72071aba6..231ab185c 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -51,7 +51,7 @@ namespace } } -bool InspIRCd::BindPort(const std::shared_ptr<ConfigTag>& tag, const irc::sockets::sockaddrs& sa, std::vector<ListenSocket*>& old_ports, int protocol) +bool InspIRCd::BindPort(const std::shared_ptr<ConfigTag>& tag, const irc::sockets::sockaddrs& sa, std::vector<ListenSocket*>& old_ports, sa_family_t protocol) { for (std::vector<ListenSocket*>::iterator n = old_ports.begin(); n != old_ports.end(); ++n) { |
