mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fix duplicate use of same identifier
This commit is contained in:
parent
892dae216b
commit
3674669424
1 changed files with 2 additions and 2 deletions
|
@ -65,8 +65,8 @@ Wsi::Wsi(Api *a, lws *w) :
|
|||
{
|
||||
state = Session::State::ESTABLISHED;
|
||||
|
||||
lws_context *ctx = lws_get_context(wsi);
|
||||
void *ctx = lws_context_user(ctx);
|
||||
lws_context *user_ctx = lws_get_context(wsi);
|
||||
void *ctx = lws_context_user(user_ctx);
|
||||
|
||||
web = static_cast<Web*>(ctx);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue