Adjust to recent ObjFW changes.
This commit is contained in:
parent
8f2cdce7b4
commit
d4ebc7ed17
1 changed files with 2 additions and 2 deletions
|
@ -54,8 +54,8 @@
|
|||
return nil;
|
||||
}
|
||||
|
||||
nodesep = [str indexOfFirstOccurrenceOfString: @"@"];
|
||||
resourcesep = [str indexOfFirstOccurrenceOfString: @"/"];
|
||||
nodesep = [str rangeOfString: @"@"].location;
|
||||
resourcesep = [str rangeOfString: @"/"].location;
|
||||
|
||||
if (nodesep == SIZE_MAX)
|
||||
[self setNode: nil];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue