Skip to content

Commit

Permalink
ssl was actived for all connexions #124
Browse files Browse the repository at this point in the history
  • Loading branch information
Jérôme Lebel committed Jul 21, 2014
1 parent 1d2f80a commit 7413fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ConnectionWindow/MHConnectionWindowController.m
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ - (void)connectToServer
}
}
NSAssert(ip != nil, @"need an ip");
uri = [NSString stringWithFormat:@"mongodb://%@%@/%@?ssl=%@", auth, ip, self.connectionStore.defaultdb, self.connectionStore.usessl?@"true":@"false"];
uri = [NSString stringWithFormat:@"mongodb://%@%@/%@?ssl=%@", auth, ip, self.connectionStore.defaultdb, self.connectionStore.usessl.boolValue?@"true":@"false"];
self.client = [MODClient clientWihtURLString:uri];
self.client.readPreferences = [MODReadPreferences readPreferencesWithReadMode:self.connectionStore.defaultReadMode];
self.statusViewController.client = self.client;
Expand Down

0 comments on commit 7413fc5

Please sign in to comment.