mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[c-host] dont use a interface that fails to create
This commit is contained in:
parent
4a72dab02a
commit
37c1d7ea58
@ -164,8 +164,12 @@ int app_main(bool * termSignal)
|
||||
{
|
||||
iface = CaptureInterfaces[i];
|
||||
DEBUG_INFO("Trying : %s", iface->getName());
|
||||
|
||||
if (!iface->create())
|
||||
{
|
||||
iface = NULL;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (iface->init())
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user