diff options
author | stuart.morgan <stuart.morgan@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2009-04-29 13:27:16 +0000 |
---|---|---|
committer | stuart.morgan <stuart.morgan@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2009-04-29 13:27:16 +0000 |
commit | 73afbc7302a8ee869f3fd777790d9f61f018092d (patch) | |
tree | 6ca43ffdcd5a6b393b5524f779ad3a1262e066e8 /src/client/mac/sender | |
parent | Code review issue 9002: Add paranoid logging to Inspector & Reporter (diff) | |
download | breakpad-73afbc7302a8ee869f3fd777790d9f61f018092d.tar.xz |
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
Diffstat (limited to 'src/client/mac/sender')
-rw-r--r-- | src/client/mac/sender/crash_report_sender.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/mac/sender/crash_report_sender.m b/src/client/mac/sender/crash_report_sender.m index cb0abb80..ebf31c20 100644 --- a/src/client/mac/sender/crash_report_sender.m +++ b/src/client/mac/sender/crash_report_sender.m @@ -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]; |