rename setmode for freebsd
authorminima <minima>
Fri, 30 Mar 2001 22:00:22 +0000 (22:00 +0000)
committerminima <minima>
Fri, 30 Mar 2001 22:00:22 +0000 (22:00 +0000)
src/client.c

index a04d1bb224edf0597828a3ffef5e0bcb3dcf6cf1..5c2dd063f589da5e7a1f51d53259e2c2e564dca4 100644 (file)
@@ -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! */