Skip to content

Commit c2a6bf1

Browse files
committed
Cleanup
1 parent 7bee5a7 commit c2a6bf1

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

todoapp/Bridge.swift

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -65,20 +65,9 @@ class Bridge {
6565
setEnv(name: "ERL_INETRC", value: inet_rc.path)
6666
//if (!FileManager.default.fileExists(atPath: inet_rc.path)) {
6767
let rc = #"""
68-
%% -- ERLANG INET CONFIGURATION FILE --
69-
%% read the hosts file
70-
%% {file, hosts, "/etc/hosts"}.
71-
%% add a particular host
72-
%% {host, {134,138,177,105}, ["finwe"]}.
73-
%% do not monitor the hosts file
74-
%% {hosts_file, ""}.
75-
%% read and monitor nameserver config from here
76-
%% {resolv_conf, "/usr/local/etc/resolv.conf"}.
7768
%% enable EDNS, 0 means enable YES!
7869
{edns,0}.
7970
{alt_nameserver, {8,8,8,8}}.
80-
%% disable caching
81-
%% {cache_size, 0}.
8271
%% specify lookup method
8372
{lookup, [dns]}.
8473
"""#
@@ -128,8 +117,6 @@ class Bridge {
128117
}
129118

130119
func stateDidChange(to newState: NWListener.State) {
131-
print("Server new state: \(newState)")
132-
133120
switch newState {
134121
case .ready:
135122
if erlangStarted {

0 commit comments

Comments
 (0)