Browse Source

Fix: tabs to spaces

Rod Hynes 8 years ago
parent
commit
c3017a85cb
1 changed files with 13 additions and 13 deletions
  1. 13 13
      MobileLibrary/iOS/PsiphonTunnel/PsiphonTunnel/PsiphonTunnel.m

+ 13 - 13
MobileLibrary/iOS/PsiphonTunnel/PsiphonTunnel/PsiphonTunnel.m

@@ -763,19 +763,19 @@
             });
         }
     }
-	else if ([noticeType isEqualToString:@"ServerTimestamp"]) {
-		id timestamp = [notice valueForKeyPath:@"data.timestamp"];
-		if (![timestamp isKindOfClass:[NSString class]]) {
-			[self logMessage:[NSString stringWithFormat: @"ServerTimestamp notice missing data.timestamp: %@", noticeJSON]];
-			return;
-		}
-
-		if ([self.tunneledAppDelegate respondsToSelector:@selector(onServerTimestamp:)]) {
-			dispatch_sync(self->callbackQueue, ^{
-				[self.tunneledAppDelegate onServerTimestamp:timestamp];
-			});
-		}
-	}
+    else if ([noticeType isEqualToString:@"ServerTimestamp"]) {
+        id timestamp = [notice valueForKeyPath:@"data.timestamp"];
+        if (![timestamp isKindOfClass:[NSString class]]) {
+            [self logMessage:[NSString stringWithFormat: @"ServerTimestamp notice missing data.timestamp: %@", noticeJSON]];
+            return;
+        }
+
+        if ([self.tunneledAppDelegate respondsToSelector:@selector(onServerTimestamp:)]) {
+            dispatch_sync(self->callbackQueue, ^{
+                [self.tunneledAppDelegate onServerTimestamp:timestamp];
+            });
+        }
+    }
     
     // Pass diagnostic messages to onDiagnosticMessage.
     if (diagnostic) {