diff options
Diffstat (limited to 'src/socket.cpp')
| -rw-r--r-- | src/socket.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/socket.cpp b/src/socket.cpp index 2ffe82370..67c66d618 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -49,7 +49,7 @@ bool InspIRCd::BindPort(const std::shared_ptr<ConfigTag>& tag, const irc::socket } } - auto ll = new ListenSocket(tag, sa); + auto* ll = new ListenSocket(tag, sa); if (!ll->HasFd()) { ServerInstance->Logs.Normal("SOCKET", "Failed to listen on %s from tag at %s: %s", @@ -135,7 +135,7 @@ size_t InspIRCd::BindPorts(FailedPortList& failed_ports) } std::vector<ListenSocket*>::iterator n = ports.begin(); - for (auto& old_port : old_ports) + for (auto* old_port : old_ports) { while (n != ports.end() && *n != old_port) n++; |
