aboutsummaryrefslogtreecommitdiff
path: root/src/client/mac/sender
diff options
context:
space:
mode:
authorstuart.morgan <stuart.morgan@4c0a9323-5329-0410-9bdc-e9ce6186880e>2009-04-29 13:27:16 +0000
committerstuart.morgan <stuart.morgan@4c0a9323-5329-0410-9bdc-e9ce6186880e>2009-04-29 13:27:16 +0000
commit73afbc7302a8ee869f3fd777790d9f61f018092d (patch)
tree6ca43ffdcd5a6b393b5524f779ad3a1262e066e8 /src/client/mac/sender
parentCode review issue 9002: Add paranoid logging to Inspector & Reporter (diff)
downloadbreakpad-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.m2
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];