From 6c06b4e2aa2a28d1f0bbd29ecdce35aaaf600ce8 Mon Sep 17 00:00:00 2001 From: "Rodney W. Grimes" Date: Tue, 30 May 1995 05:51:47 +0000 Subject: Remove trailing whitespace. --- libexec/ftpd/Makefile | 2 +- libexec/ftpd/ftpd.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libexec/ftpd') diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile index ba6cb99cd55d..adcc9198f807 100644 --- a/libexec/ftpd/Makefile +++ b/libexec/ftpd/Makefile @@ -7,7 +7,7 @@ SRCS= ftpd.c ftpcmd.c logwtmp.c popen.c skey-stuff.c CFLAGS+=-DSETPROCTITLE -DSKEY -DSTATS LDADD= -lskey -lmd -lcrypt -DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT} +DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT} CLEANFILES+=ftpcmd.c y.tab.h diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index 885166cfbc05..f6fc3795f5ef 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: ftpd.c,v 1.9 1995/05/22 11:03:55 davidg Exp $ */ #ifndef lint @@ -1019,7 +1019,7 @@ send_data(instr, outstr, blksize, filesize, isreg) * are sending a regular file */ netfd = fileno(outstr); - filefd = fileno(instr); + filefd = fileno(instr); if (isreg && filesize < (off_t)16 * 1024 * 1024) { buf = mmap(0, filesize, PROT_READ, MAP_SHARED, filefd, @@ -1052,7 +1052,7 @@ oldway: perror_reply(451, "Local resource failure: malloc"); return; } - + while ((cnt = read(filefd, buf, (u_int)blksize)) > 0 && write(netfd, buf, cnt) == cnt) byte_count += cnt; -- cgit v1.3