mirror of
https://github.com/lammertb/libhttp.git
synced 2025-08-19 09:42:06 +03:00
Using get_url_to_first_open_port() in cocoa build
This commit is contained in:
2
main.c
2
main.c
@@ -804,7 +804,7 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR cmdline, int show) {
|
||||
- (void) openBrowser {
|
||||
[[NSWorkspace sharedWorkspace]
|
||||
openURL:[NSURL URLWithString:
|
||||
[NSString stringWithUTF8String:"http://www.yahoo.com"]]];
|
||||
[NSString stringWithUTF8String:get_url_to_first_open_port(ctx)]]];
|
||||
}
|
||||
- (void) editConfig {
|
||||
create_config_file(config_file);
|
||||
|
Reference in New Issue
Block a user