misc: fix typo

This commit is contained in:
yicheng 2023-02-20 14:08:44 +08:00
parent d3e0f349ff
commit 86adebc30c
3 changed files with 3 additions and 3 deletions

View File

@ -117,7 +117,7 @@ ProxyConfigRemoteProcessProtocol
error:(stringReplyBlock)reply {
dispatch_async(dispatch_get_main_queue(), ^{
ProxySettingTool *tool = [ProxySettingTool new];
[tool restoreProxySettint:dict currentPort:port currentSocksPort:socksPort filterInterface:filterInterface];
[tool restoreProxySetting:dict currentPort:port currentSocksPort:socksPort filterInterface:filterInterface];
reply(nil);
});
}

View File

@ -19,7 +19,7 @@ NS_ASSUME_NONNULL_BEGIN
- (void)disableProxyWithfilterInterface:(BOOL)filterInterFace;
- (void)restoreProxySettint:(NSDictionary *)savedInfo
- (void)restoreProxySetting:(NSDictionary *)savedInfo
currentPort:(int)port
currentSocksPort:(int)socksPort
filterInterface:(BOOL)filterInterface;

View File

@ -47,7 +47,7 @@
}];
}
- (void)restoreProxySettint:(NSDictionary *)savedInfo
- (void)restoreProxySetting:(NSDictionary *)savedInfo
currentPort:(int)port
currentSocksPort:(int)socksPort
filterInterface:(BOOL)filterInterface{