diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2015-12-05 22:20:45 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2015-12-05 22:20:45 +0000 |
commit | 7c025e5ab50f281794aca4c3a8a986323ad82e6a (patch) | |
tree | fcd5460caf1af36dc54673af0ef5a0f4fd1c91af /usr.bin | |
parent | 4d2ac7d9cf6e9f1590d72637f0ef30dc544d674e (diff) |
Send bad whitespace to the attic.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ftp/ftp.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/usr.bin/ftp/ftp.c b/usr.bin/ftp/ftp.c index b484ea165e5..4b8d47ccaf0 100644 --- a/usr.bin/ftp/ftp.c +++ b/usr.bin/ftp/ftp.c @@ -1,10 +1,10 @@ -/* $OpenBSD: ftp.c,v 1.93 2015/12/05 22:14:04 krw Exp $ */ +/* $OpenBSD: ftp.c,v 1.94 2015/12/05 22:20:44 krw Exp $ */ /* $NetBSD: ftp.c,v 1.27 1997/08/18 10:20:23 lukem Exp $ */ /* * Copyright (C) 1997 and 1998 WIDE Project. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: @@ -16,7 +16,7 @@ * 3. Neither the name of the project nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. - * + * * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE @@ -181,7 +181,7 @@ hookup(char *host, char *port) } } #endif /* !SMALL */ - + s = -1; for (res = res0; res; res = res->ai_next) { if (res0->ai_next) /* if we have multiple possibilities */ @@ -280,7 +280,7 @@ hookup(char *host, char *port) } if (verbose) fprintf(ttyout, "Connected to %s.\n", hostname); - if (getreply(0) > 2) { /* read startup message from server */ + if (getreply(0) > 2) { /* read startup message from server */ if (cin) (void)fclose(cin); if (cout) @@ -392,7 +392,7 @@ may_reset_noop_timeout(void) last_timestamp = time(NULL); } -static void +static void may_receive_noop_ack(void) { int i; @@ -421,7 +421,7 @@ may_receive_noop_ack(void) full_noops_sent = 0; } -static void +static void may_send_noop_char(void) { if (keep_alive_timeout != 0) { @@ -431,7 +431,7 @@ may_send_noop_char(void) if (t - last_timestamp >= keep_alive_timeout) { last_timestamp = t; send_noop_char(); - } + } } else { last_timestamp = time(NULL); } @@ -1328,7 +1328,7 @@ reinit: ov = verbose; verbose = -1; result = command(pasvcmd = "EPSV"); - /* + /* * now back to whatever verbosity we had before * and we can try PASV */ @@ -1655,7 +1655,7 @@ noport: result = COMPLETE + 1; /* xxx */ } skip_port: - + if (result == ERROR && sendport == -1) { sendport = 0; tmpno = 1; @@ -2017,7 +2017,7 @@ gunique(const char *local) } jmp_buf forceabort; - + /* ARGSUSED */ static void abortforce(int signo) |