1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

fix a mistake in portchecker

This commit is contained in:
Mitchell Livingston 2006-10-25 13:15:47 +00:00
parent 5a554cef95
commit bc103e3f6f

View file

@ -97,7 +97,7 @@
{
NSArray * title = [shieldsUpProbe nodesForXPath: @"/html/head/title" error: nil];
// This may happen when we probe twice too quickly
if ([title count] > 1 || ![[[title objectAtIndex: 0] stringValue] isEqualToString:
if ([title count] != 1 || ![[[title objectAtIndex: 0] stringValue] isEqualToString:
@"NanoProbe System Already In Use"])
{
NSLog(@"Unable to get port status: invalid (outdated) XPath expression");