summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-23 06:40:08 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:10 -0800
commit849cd6bf6c3a6bd758b47a2960bf5418de1e793a (patch)
treedf60d846bf35eaf6ab23e8c292ed26e0be6be826
parent93d6d3189237b8e30a02d569c3b9bc0ffafbfc74 (diff)
Apple's bridge requires NSNull.
-rw-r--r--MobileCydia.mm6
1 files changed, 3 insertions, 3 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index ddec663..6d697a0 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -3999,11 +3999,11 @@ static NSString *Warning_;
}
- (NSString *) plmn {
- return PLMN_;
+ return (id) PLMN_ ?: [NSNull null];
}
- (NSString *) ecid {
- return ChipID_;
+ return (id) ChipID_ ?: [NSNull null];
}
- (NSString *) serial {
@@ -4011,7 +4011,7 @@ static NSString *Warning_;
}
- (NSString *) role {
- return Role_;
+ return (id) Role_ ?: [NSNull null];
}
- (NSString *) model {