mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[client] main: fix failure to check KVMFR udata at connect
This commit is contained in:
parent
3890c72159
commit
1cfbcba813
@ -1264,11 +1264,12 @@ restart:
|
|||||||
|
|
||||||
while(g_state.state == APP_STATE_RUNNING)
|
while(g_state.state == APP_STATE_RUNNING)
|
||||||
{
|
{
|
||||||
if ((status = lgmpClientSessionInit(g_state.lgmp, &udataSize, (uint8_t **)&udata)) == LGMP_OK)
|
status = lgmpClientSessionInit(g_state.lgmp, &udataSize, (uint8_t **)&udata);
|
||||||
break;
|
|
||||||
|
|
||||||
switch(status)
|
switch(status)
|
||||||
{
|
{
|
||||||
|
case LGMP_OK:
|
||||||
|
break;
|
||||||
|
|
||||||
case LGMP_ERR_INVALID_VERSION:
|
case LGMP_ERR_INVALID_VERSION:
|
||||||
{
|
{
|
||||||
reportBadVersion();
|
reportBadVersion();
|
||||||
|
Loading…
Reference in New Issue
Block a user