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:
parent
5a554cef95
commit
bc103e3f6f
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue