Skip to content

Commit 9fd54a3

Browse files
committed
Fixed inverted interpretation of local bind preferences
1 parent 9021b42 commit 9fd54a3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

MacPassHTTP.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@
342342
buildSettings = {
343343
BUNDLE_LOADER = "";
344344
COMBINE_HIDPI_IMAGES = YES;
345-
CURRENT_PROJECT_VERSION = 0.2;
345+
CURRENT_PROJECT_VERSION = 0.2.1;
346346
DEPLOYMENT_LOCATION = YES;
347347
DSTROOT = "$(HOME)";
348348
FRAMEWORK_SEARCH_PATHS = (
@@ -370,7 +370,7 @@
370370
buildSettings = {
371371
BUNDLE_LOADER = "";
372372
COMBINE_HIDPI_IMAGES = YES;
373-
CURRENT_PROJECT_VERSION = 0.2;
373+
CURRENT_PROJECT_VERSION = 0.2.1;
374374
DEPLOYMENT_LOCATION = YES;
375375
DSTROOT = "$(HOME)";
376376
FRAMEWORK_SEARCH_PATHS = (

MacPassHTTP/MPHMacPassHTTP.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ - (void)_stopServer {
147147

148148
- (void)_restartServer {
149149
NSError *error;
150-
if(![self.server startWithPort:self.serverPort bindToLocalhost:self.allowRemoteConnection error:&error]) {
150+
if(![self.server startWithPort:self.serverPort bindToLocalhost:!self.allowRemoteConnection error:&error]) {
151151
NSLog(@"Unable to Start KeePassHTTP Server: %@", error.localizedDescription);
152152
}
153153
[self _updateStatusItem];

0 commit comments

Comments
 (0)