From: minima Date: Fri, 30 Mar 2001 22:00:22 +0000 (+0000) Subject: rename setmode for freebsd X-Git-Tag: R_1_47~61 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=fed24311c0290fa22432d7752f75e8cccddc07c8;hp=9bba449d12641232d51d259f470ce6b21205c622;p=spider.git rename setmode for freebsd --- diff --git a/src/client.c b/src/client.c index a04d1bb2..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! */