summaryrefslogtreecommitdiffstats
path: root/src/appl/telnet/telnet
diff options
context:
space:
mode:
Diffstat (limited to 'src/appl/telnet/telnet')
-rw-r--r--src/appl/telnet/telnet/authenc.c2
-rw-r--r--src/appl/telnet/telnet/commands.c10
-rw-r--r--src/appl/telnet/telnet/externs.h6
-rw-r--r--src/appl/telnet/telnet/main.c10
-rw-r--r--src/appl/telnet/telnet/sys_bsd.c2
-rw-r--r--src/appl/telnet/telnet/telnet.c20
-rw-r--r--src/appl/telnet/telnet/utilities.c4
7 files changed, 27 insertions, 27 deletions
diff --git a/src/appl/telnet/telnet/authenc.c b/src/appl/telnet/telnet/authenc.c
index aa4459f27..ee312df3a 100644
--- a/src/appl/telnet/telnet/authenc.c
+++ b/src/appl/telnet/telnet/authenc.c
@@ -78,7 +78,7 @@ telnet_spin()
scheduler_lockout_tty = 1;
Scheduler(0);
scheduler_lockout_tty = 0;
-
+
return 0;
}
diff --git a/src/appl/telnet/telnet/commands.c b/src/appl/telnet/telnet/commands.c
index a029e6381..6af6c5b4a 100644
--- a/src/appl/telnet/telnet/commands.c
+++ b/src/appl/telnet/telnet/commands.c
@@ -282,7 +282,7 @@ control(c)
* the "send" command.
*
*/
-
+
struct sendlist {
char *name; /* How user refers to it (case independent) */
char *help; /* Help information (0 ==> no help) */
@@ -1931,7 +1931,7 @@ env_is_exported(var)
return ep->export;
return 0;
}
-
+
#if defined(OLD_ENVIRON) && defined(ENV_HACK)
void
env_varval(what)
@@ -2398,7 +2398,7 @@ status(argc, argv)
* Function that gets called when SIGINFO is received.
*/
#if defined(CRAY) || (defined(USE_TERMIO) && !defined(SYSV_TERMIO))
-void
+void
ayt_status()
{
(void) call(status, "status", "notmuch", 0);
@@ -3047,10 +3047,10 @@ cmdrc(m1, m2)
* *cpp: If *cpp was equal to NULL, it will be filled
* in with a pointer to our static area that has
* the option filled in. This will be 32bit aligned.
- *
+ *
* *lenp: This will be filled in with how long the option
* pointed to by *cpp is.
- *
+ *
*/
static unsigned long
sourceroute(arg, cpp, lenp)
diff --git a/src/appl/telnet/telnet/externs.h b/src/appl/telnet/telnet/externs.h
index 3d098adff..192663ab2 100644
--- a/src/appl/telnet/telnet/externs.h
+++ b/src/appl/telnet/telnet/externs.h
@@ -296,7 +296,7 @@ extern void
lm_mode (unsigned char *, int, int);
extern void
- ExitString (char *, int),
+ ExitString (char *, int),
Exit (int),
SetForExit (void),
EmptyTerminal (void),
@@ -313,7 +313,7 @@ extern void
slc_end_reply (void);
extern int
- quit (int, char *[]),
+ quit (int, char *[]),
ttyflush (int),
rlogin_susp (void),
tn (int, char **),
@@ -325,7 +325,7 @@ extern int
slc_update (void),
Scheduler (int),
SetSockOpt (int, int, int, int),
- stilloob (void),
+ stilloob (void),
telrcv (void),
telnet_spin (void),
TerminalWrite (unsigned char *, int),
diff --git a/src/appl/telnet/telnet/main.c b/src/appl/telnet/telnet/main.c
index c1dc2049a..e0bdb1856 100644
--- a/src/appl/telnet/telnet/main.c
+++ b/src/appl/telnet/telnet/main.c
@@ -71,7 +71,7 @@ tninit()
init_terminal();
init_network();
-
+
init_telnet();
init_sys();
@@ -206,7 +206,7 @@ main(argc, argv)
case 'f':
#if defined(AUTHENTICATION) && defined(KRB5) && defined(FORWARD)
if (forward_flags & OPTS_FORWARD_CREDS) {
- fprintf(stderr,
+ fprintf(stderr,
"%s: Only one of -f and -F allowed.\n",
prompt);
usage();
@@ -214,14 +214,14 @@ main(argc, argv)
forward_flags |= OPTS_FORWARD_CREDS;
#else
fprintf(stderr,
- "%s: Warning: -f ignored, no Kerberos V5 support.\n",
+ "%s: Warning: -f ignored, no Kerberos V5 support.\n",
prompt);
#endif
break;
case 'F':
#if defined(AUTHENTICATION) && defined(KRB5) && defined(FORWARD)
if (forward_flags & OPTS_FORWARD_CREDS) {
- fprintf(stderr,
+ fprintf(stderr,
"%s: Only one of -f and -F allowed.\n",
prompt);
usage();
@@ -230,7 +230,7 @@ main(argc, argv)
forward_flags |= OPTS_FORWARDABLE_CREDS;
#else
fprintf(stderr,
- "%s: Warning: -F ignored, no Kerberos V5 support.\n",
+ "%s: Warning: -F ignored, no Kerberos V5 support.\n",
prompt);
#endif
break;
diff --git a/src/appl/telnet/telnet/sys_bsd.c b/src/appl/telnet/telnet/sys_bsd.c
index 89f9d4b5a..07def19fd 100644
--- a/src/appl/telnet/telnet/sys_bsd.c
+++ b/src/appl/telnet/telnet/sys_bsd.c
@@ -987,7 +987,7 @@ process_rings(netin, netout, netex, ttyin, ttyout, poll)
if (netout) {
FD_SET(net, &obits);
- }
+ }
if (ttyout) {
FD_SET(tout, &obits);
}
diff --git a/src/appl/telnet/telnet/telnet.c b/src/appl/telnet/telnet/telnet.c
index be00687e7..0d05b8f64 100644
--- a/src/appl/telnet/telnet/telnet.c
+++ b/src/appl/telnet/telnet/telnet.c
@@ -75,7 +75,7 @@
#include <libtelnet/encrypt.h>
#endif
-#if defined(AUTHENTICATION) || defined(ENCRYPTION)
+#if defined(AUTHENTICATION) || defined(ENCRYPTION)
#include <libtelnet/misc-proto.h>
#endif /* defined(AUTHENTICATION) || defined(ENCRYPTION) */
@@ -207,7 +207,7 @@ init_telnet()
ClearArray(options);
connected = In3270 = ISend = localflow = donebinarytoggle = 0;
-#if defined(AUTHENTICATION) || defined(ENCRYPTION)
+#if defined(AUTHENTICATION) || defined(ENCRYPTION)
auth_encrypt_connect(connected);
#endif /* defined(AUTHENTICATION) || defined(ENCRYPTION) */
restartany = -1;
@@ -697,8 +697,8 @@ mklist(buf, name)
*/
if (n || (cp - cp2 > 41))
;
- else if (name && (strncasecmp(name, cp2,
- (unsigned) (cp-cp2))
+ else if (name && (strncasecmp(name, cp2,
+ (unsigned) (cp-cp2))
== 0))
*argv = cp2;
else if (is_unique(cp2, argv+1, argvp))
@@ -724,7 +724,7 @@ mklist(buf, name)
else if (islower((unsigned char) c))
*cp = toupper((unsigned char) c);
}
-
+
/*
* Check for an old V6 2 character name. If the second
* name points to the beginning of the buffer, and is
@@ -1874,7 +1874,7 @@ telrcv()
case TS_IAC:
process_iac:
switch (c) {
-
+
case WILL:
telrcv_state = TS_WILL;
continue;
@@ -2292,10 +2292,10 @@ telnet(user)
char *user;
{
int printed_encrypt = 0;
-
+
sys_telnet_init();
-#if defined(AUTHENTICATION) || defined(ENCRYPTION)
+#if defined(AUTHENTICATION) || defined(ENCRYPTION)
{
static char local_host[256] = { 0 };
@@ -2339,7 +2339,7 @@ telnet(user)
/*
* Note: we assume a tie to the authentication option here. This
* is necessary so that authentication fails, we don't spin
- * forever.
+ * forever.
*/
if (wantencryption) {
extern int auth_has_failed;
@@ -2373,7 +2373,7 @@ telnet(user)
printed_encrypt = 1;
printf("Waiting for encryption to be negotiated...\n");
/*
- * Turn on MODE_TRAPSIG and then turn off localchars
+ * Turn on MODE_TRAPSIG and then turn off localchars
* so that ^C will cause telnet to exit.
*/
TerminalNewMode(getconnmode()|MODE_TRAPSIG);
diff --git a/src/appl/telnet/telnet/utilities.c b/src/appl/telnet/telnet/utilities.c
index 4a076e530..dc9f3bc69 100644
--- a/src/appl/telnet/telnet/utilities.c
+++ b/src/appl/telnet/telnet/utilities.c
@@ -606,7 +606,7 @@ printsub(direction, pointer, length)
break;
}
break;
-
+
case LM_SLC:
fprintf(NetTrace, "SLC");
for (i = 2; i < length - 2; i += 3) {
@@ -738,7 +738,7 @@ printsub(direction, pointer, length)
fprintf(NetTrace, "\n");
break;
-
+
default:
fprintf(NetTrace, " %d", pointer[i]);
break;