WebSockets: rename _lws_mnt_index to _lws_mnt_root

This mount point not only serves the index but everything that is under
/ , including the built-in surfaces directory
This commit is contained in:
Luciano Iam 2020-04-17 11:58:53 +02:00 committed by Robin Gareus
parent 36a27b8a90
commit 137042f80c
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 13 additions and 13 deletions

View file

@ -66,7 +66,7 @@ private:
struct lws_protocol_vhost_options _lws_vhost_opt;
#endif
struct lws_protocols _lws_proto[2];
struct lws_http_mount _lws_mnt_index;
struct lws_http_mount _lws_mnt_root;
struct lws_http_mount _lws_mnt_user;
struct lws_context_creation_info _lws_info;
struct lws_context* _lws_context;