Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3]: src/usr.bin/ftp Pull up revision 1.7 (requested by lukem in t...



details:   https://anonhg.NetBSD.org/src/rev/bfbaa3b7a1e7
branches:  netbsd-3
changeset: 575749:bfbaa3b7a1e7
user:      tron <tron%NetBSD.org@localhost>
date:      Mon May 09 17:04:52 2005 +0000

description:
Pull up revision 1.7 (requested by lukem in ticket #266):
gratuitous whitespace cleanup (before someone else jumps the gun...)

diffstat:

 usr.bin/ftp/progressbar.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r a556eef8aa8b -r bfbaa3b7a1e7 usr.bin/ftp/progressbar.c
--- a/usr.bin/ftp/progressbar.c Mon May 09 17:04:47 2005 +0000
+++ b/usr.bin/ftp/progressbar.c Mon May 09 17:04:52 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: progressbar.c,v 1.6 2005/02/10 16:00:28 jmc Exp $      */
+/*     $NetBSD: progressbar.c,v 1.6.2.1 2005/05/09 17:04:52 tron Exp $ */
 
 /*-
  * Copyright (c) 1997-2003 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: progressbar.c,v 1.6 2005/02/10 16:00:28 jmc Exp $");
+__RCSID("$NetBSD: progressbar.c,v 1.6.2.1 2005/05/09 17:04:52 tron Exp $");
 #endif /* not lint */
 
 /*
@@ -211,11 +211,11 @@
 
                        /*
                         * calculate the length of the `*' bar, ensuring that
-                        * the number of stars won't exceed the buffer size 
+                        * the number of stars won't exceed the buffer size
                         */
                barlength = MIN(sizeof(buf) - 1, ttywidth) - BAROVERHEAD;
                if (prefix)
-                       barlength -= strlen(prefix);
+                       barlength -= strlen(prefix);
                if (barlength > 0) {
                        i = barlength * ratio / 100;
                        len += snprintf(buf + len, BUFLEFT,



Home | Main Index | Thread Index | Old Index