X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=src%2Fclient.c;h=5c2dd063f589da5e7a1f51d53259e2c2e564dca4;hb=5b803645eaf1a462937d7cde0e9459f1a6d3f10e;hp=29c8bf5cd0f5b654cf6411e776449339d55e08ac;hpb=d339a58bd419901bf4294aaa138c000a8c2ae139;p=spider.git diff --git a/src/client.c b/src/client.c index 29c8bf5c..5c2dd063 100644 --- a/src/client.c +++ b/src/client.c @@ -574,7 +574,7 @@ lend:; /* * set up the various mode flags, NL endings and things */ -void setmode(char *m) +void setconntype(char *m) { connsort = strlower(m); if (eq(connsort, "telnet") || eq(connsort, "local") || eq(connsort, "nlonly")) { @@ -809,9 +809,9 @@ lerr: die("Must have at least a callsign (for now)"); if (optind < argc) { - setmode(argv[optind]); + setconntype(argv[optind]); } else { - setmode("local"); + setconntype("local"); } /* this is kludgy, but hey so is the rest of this! */ @@ -901,13 +901,6 @@ main(int argc, char *argv[]) #ifdef SIGPWR signal(SIGPWR, terminate); #endif -#ifdef SIGCLD - signal(SIGCLD, reaper); -#else - #ifdef SIGCHILD - signal(SIGCHILD, reaper); - #endif -#endif /* init a few things */ chain_init(&echobase);