From 0447aeee0055921ebaf5cd201e4e035d2bda43fd Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Mon, 4 Sep 2017 23:04:21 +0200 Subject: [PATCH] io: fix old format names --- lib/nodes/websocket.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/nodes/websocket.c b/lib/nodes/websocket.c index a89e7b8e0..6fc4a2120 100644 --- a/lib/nodes/websocket.c +++ b/lib/nodes/websocket.c @@ -162,7 +162,7 @@ int websocket_protocol_cb(struct lws *wsi, enum lws_callback_reasons reason, voi } if (!format) - format = "webmsg"; + format = "villas-web"; c->format = io_format_lookup(format); if (!c->format) { @@ -362,7 +362,7 @@ int websocket_start(struct node *n) c->destination = d; c->_name = NULL; - c->format = io_format_lookup("webmsg"); /** @todo We could parse the format from the URI */ + c->format = io_format_lookup("villas-web"); /** @todo We could parse the format from the URI */ d->info.context = web->context; d->info.vhost = web->vhost;