Revision 32ae06f7 pithos-macos/pithos_macosAppDelegate.m
b/pithos-macos/pithos_macosAppDelegate.m | ||
---|---|---|
137 | 137 |
NSString *query = [url query]; |
138 | 138 |
PithosAccount *pithosAccount = [pithosAccountsDictionary objectForKey:[url lastPathComponent]]; |
139 | 139 |
NSProcessInfo *processInfo = [NSProcessInfo processInfo]; |
140 |
if ([host isEqualToString:[NSString stringWithFormat:@"%@_%d", [processInfo processName], [processInfo processIdentifier]]] && |
|
141 |
pithosAccount && query) { |
|
140 |
if ([host isEqualToString:[NSString stringWithFormat:@"%d", [processInfo processIdentifier]]] && pithosAccount && query) { |
|
142 | 141 |
// user= |
143 | 142 |
NSString *authUser; |
144 | 143 |
NSRange userRange = [query rangeOfString:@"user=" options:NSCaseInsensitiveSearch]; |
Also available in: Unified diff