Skip to content

Commit a293263

Browse files
committed
Fix uninitialized constants
1 parent ec8872a commit a293263

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/fluent/plugin/in_syslog.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,11 @@ def listen(callback)
181181
client = ServerEngine::SocketManager::Client.new(socket_manager_path)
182182
if @protocol_type == :udp
183183
@usock = client.listen_udp(@bind, @port)
184-
SocketUtil::UdpHandler.new(@usock, log, 2048, callback)
184+
Fluent::SocketUtil::UdpHandler.new(@usock, log, 2048, callback)
185185
else
186186
# syslog family add "\n" to each message and this seems only way to split messages in tcp stream
187187
lsock = client.listen_tcp(@bind, @port)
188-
Coolio::TCPServer.new(lsock, nil, SocketUtil::TcpHandler, log, "\n", callback)
188+
Coolio::TCPServer.new(lsock, nil, Fluent::SocketUtil::TcpHandler, log, "\n", callback)
189189
end
190190
end
191191

0 commit comments

Comments
 (0)