Fix pairing with GFE 2.4.5.57+

This commit is contained in:
Cameron Gutman
2015-07-08 23:03:23 -07:00
parent 84a986bc88
commit 73364127d2
9 changed files with 36 additions and 5 deletions
+2 -1
View File
@@ -31,7 +31,8 @@
- (void) main {
ServerInfoResponse* serverInfoResp = [[ServerInfoResponse alloc] init];
[_httpManager executeRequestSynchronously:[HttpRequest requestForResponse:serverInfoResp withUrlRequest:[_httpManager newServerInfoRequest]]];
[_httpManager executeRequestSynchronously:[HttpRequest requestForResponse:serverInfoResp withUrlRequest:[_httpManager newServerInfoRequest]
fallbackError:401 fallbackRequest:[_httpManager newHttpServerInfoRequest]]];
if (serverInfoResp == nil) {
[_callback pairFailed:@"Unable to connect to PC"];
return;