Commit 162bcdf2 authored by Daan Vreeken's avatar Daan Vreeken
Browse files

Committer: Daan Vreeken <pa4dan@RacebeestV3.VEHosting.LAN>

	modified:   console/console/mod_websocket_dt/mod_websocket_dt.c

Introduce some more new-style initializers.
parent 2d8d200f
......@@ -515,12 +515,12 @@ static void on_disconnect(void *plugin_private, const WebSocketServer *server)
static WebSocketPlugin s_plugin = {
size: sizeof(WebSocketPlugin),
version: WEBSOCKET_PLUGIN_VERSION_0,
destroy: NULL,
on_connect: on_connect,
on_message: on_message,
on_disconnect: on_disconnect,
.size = sizeof(WebSocketPlugin),
.version = WEBSOCKET_PLUGIN_VERSION_0,
.destroy = NULL,
.on_connect = on_connect,
.on_message = on_message,
.on_disconnect = on_disconnect,
};
extern EXPORT WebSocketPlugin * CALLBACK dt_init()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment