aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/MCPKit/MCPFoundationKit
diff options
context:
space:
mode:
Diffstat (limited to 'Frameworks/MCPKit/MCPFoundationKit')
-rw-r--r--Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m b/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m
index 19de4ddb..f40d79e8 100644
--- a/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m
+++ b/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m
@@ -3317,7 +3317,8 @@ void pingThreadCleanup(void *pingDetails)
NSLog(@"The time zone was not defined on the server, fallen back to default time zone: %@", serverTimeZone);
} else {
serverTimeZone = [NSTimeZone timeZoneWithName:serverTimeZoneName];
- if (!serverTimeZone) [NSTimeZone timeZoneWithAbbreviation:serverTimeZoneName];
+ if (!serverTimeZone)
+ serverTimeZone = [NSTimeZone timeZoneWithAbbreviation:serverTimeZoneName];
if (!serverTimeZone) {
serverTimeZone = [NSTimeZone defaultTimeZone];
NSLog(@"The time zone defined on the server (%@) was not recognised, fallen back to default time zone: %@", serverTimeZoneName, serverTimeZone);