fix console.pl max scroll depth
[spider.git] / src / client.c
index 124ac56b8af921954e19f057e6d34a48f1817601..b38aecf33b6db4924b170a41e35c0465969f8444 100644 (file)
@@ -79,7 +79,7 @@ typedef struct
 } myregex_t;
 
 
-char *node_addr = "localhost"; /* the node tcp address, can be overridden by DXSPIDER_HOST */
+char *node_addr = "127.0.0.1"; /* the node tcp address, can be overridden by DXSPIDER_HOST */
 int node_port = 27754;                 /* the tcp port of the node at the above address can be overidden by DXSPIDER_PORT*/
 char *call;                                            /* the caller's callsign */
 char *connsort;                                        /* the type of connection */
@@ -735,7 +735,6 @@ void terminate(int i)
        
        if (node && node->sp->sort) {
                sel_close(node->sp);
-               close(node->cnum);
        }
        while (in && in->sp->sort && !is_chain_empty(in->outq)) {
                sel_run();