aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchangluo@google.com <changluo@google.com>2015-07-10 01:29:50 +0000
committerchangluo@google.com <changluo@google.com>2015-07-10 01:29:50 +0000
commit28c9c9b82ca659405a950024c01dff7f855f86b3 (patch)
tree778c1a4a8758f57f671cd89c756b2107d448a1c1
parentSet exception whitelist check as earlier check instead of last check. (diff)
downloadbreakpad-28c9c9b82ca659405a950024c01dff7f855f86b3.tar.xz
Default nil or empty version string to CFBundleVersion
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1470 4c0a9323-5329-0410-9bdc-e9ce6186880e
-rw-r--r--src/client/ios/Breakpad.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/ios/Breakpad.mm b/src/client/ios/Breakpad.mm
index c56a6401..0a1fc2ad 100644
--- a/src/client/ios/Breakpad.mm
+++ b/src/client/ios/Breakpad.mm
@@ -341,7 +341,7 @@ bool Breakpad::ExtractParameters(NSDictionary *parameters) {
}
}
- if (!version)
+ if (!version.length) // Default nil or empty string to CFBundleVersion
version = [parameters objectForKey:@"CFBundleVersion"];
if (!vendor) {