mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-03-11 11:56:27 +00:00
Mac framework fixes: Propagate server type from plist, and fix precedence of defaults vs. plist
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@334 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
@@ -627,7 +627,7 @@ doCommandBySelector:(SEL)commandSelector {
|
||||
}
|
||||
|
||||
- (NSDictionary *)dictionaryForServerType:(NSString *)serverType {
|
||||
if (serverType == nil) {
|
||||
if (serverType == nil || [serverType length] == 0) {
|
||||
return [serverDictionary_ objectForKey:kDefaultServerType];
|
||||
}
|
||||
return [serverDictionary_ objectForKey:serverType];
|
||||
|
||||
Reference in New Issue
Block a user