Commits

Pierre Pagnoux committed 5fe5f1b

Added server timestamp.

  • Participants
  • Parent commits 0ef64ce

Comments (0)

Files changed (1)

 @property char *hash;
 @property char *ip;
 @property char *port;
+@property char *timestamp;
 
 @property char *auth;
 
     self.hash = strdup(strsep(&ptr, " "));
     self.ip = strdup(strsep(&ptr, " "));
     self.port = strdup(strsep(&ptr, " "));
+    self.timestamp = strdup(strsep(&ptr, " "));
 
     NSLog(@"[SERVER] Hash: %s", self.hash);
     NSLog(@"[SERVER] IP: %s", self.ip);
     NSLog(@"[SERVER] Port: %s", self.port);
+    NSLog(@"[SERVER] Timestamp: %s", self.timestamp);
 
     [self genAuth];
     return TRUE;