1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

io: fix old format names

This commit is contained in:
Steffen Vogel 2017-09-04 23:04:21 +02:00
parent 9e354e7382
commit 0447aeee00

View file

@ -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;