X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/82086d6a95408227f929ca149591c6fc3962f043..dc685d1d1cffcfd6bb95dd948c30f1dc315919e0:/NetworkController.m diff --git a/NetworkController.m b/NetworkController.m index ce19757..33cee8f 100755 --- a/NetworkController.m +++ b/NetworkController.m @@ -220,6 +220,7 @@ static NetworkController *sharedController; host:host]; testConnection = [[NSConnection connectionWithReceivePort:nil sendPort:testPort] retain]; [testConnection setReplyTimeout:2]; + [testConnection setRequestTimeout:2]; tempProxy = (NetworkObject *)[testConnection rootProxy]; [tempProxy serverName]; valid = [tempProxy isValid]; @@ -230,7 +231,7 @@ static NetworkController *sharedController; return NO; NS_ENDHANDLER - if (!clientProxy) { + if (!tempProxy) { ITDebugLog(@"Null proxy! Couldn't connect!"); [testConnection release]; [testPort release];