From fab8d604d2be76a35c7dd907f87b6e9860518b4c Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 6 Apr 2015 00:27:36 -0400 Subject: [PATCH] Check UUID length is non-zero before adding a new host --- Limelight/Network/DiscoveryManager.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Limelight/Network/DiscoveryManager.m b/Limelight/Network/DiscoveryManager.m index b7f208e..1154c59 100644 --- a/Limelight/Network/DiscoveryManager.m +++ b/Limelight/Network/DiscoveryManager.m @@ -88,7 +88,7 @@ } - (BOOL) addHostToDiscovery:(Host *)host { - if (![self isHostInDiscovery:host]) { + if (host.uuid.length > 0 && ![self isHostInDiscovery:host]) { [_hostQueue addObject:host]; if (shouldDiscover) { [_opQueue addOperation:[self createWorkerForHost:host]];