From c2f88ee8bec8cdd0ea573b54aee89a241c7d4deb Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 18 Dec 2017 09:05:25 +0100 Subject: plugins: rename check_status -> initialize It's a contract for plugin invocation that the particular function fills the role of initialization. Rename accordingly. --- proto-udp/ftnoir_protocol_ftn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto-udp/ftnoir_protocol_ftn.cpp') diff --git a/proto-udp/ftnoir_protocol_ftn.cpp b/proto-udp/ftnoir_protocol_ftn.cpp index a1f445f0..a4a924b1 100644 --- a/proto-udp/ftnoir_protocol_ftn.cpp +++ b/proto-udp/ftnoir_protocol_ftn.cpp @@ -31,7 +31,7 @@ void udp::set_dest_address() (s.ip4.to() & 0xff) << 0 ); } -module_status udp::check_status() +module_status udp::initialize() { if (outSocket.bind(QHostAddress::Any, 0, QUdpSocket::ShareAddress | QUdpSocket::ReuseAddressHint)) return status_ok(); -- cgit v1.2.3